Click or drag to resize
TerminalPropertyExtensionsGetValueT Method

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

Returns value of specified property as TypeName

Namespace: Sandbox.ModAPI.Interfaces
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
public static T GetValue<T>(
	IMyTerminalBlock block,
	string propertyId
)

Parameters

block
Type: Sandbox.ModAPI.IngameIMyTerminalBlock
block reference
propertyId
Type: SystemString
property id (name)

Type Parameters

T
required value type of TypeName

Return Value

Type: T
property value as TypeName
See Also