Click or drag to resize
TerminalPropertyExtensionsGetMaximumT Method

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

Returns maximum 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 GetMaximum<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