Click or drag to resize
TerminalPropertyExtensionsAsBool Method
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

Property type cast

Namespace: Sandbox.ModAPI.Interfaces
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: (
public static ITerminalProperty<bool> AsBool(
	this ITerminalProperty property


Type: Sandbox.ModAPI.InterfacesITerminalProperty
ITerminalPropertyTValue reference

Return Value

Type: ITerminalPropertyBoolean
reference to ITerminalPropertyTValue value of specified type (bool)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITerminalProperty. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also