Click or drag to resize
TerminalPropertyExtensionsSetValueT Method

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

Set value of property with type of TypeName

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

Parameters

block
Type: Sandbox.ModAPI.IngameIMyTerminalBlock
block reference
propertyId
Type: SystemString
property id (name)
value
Type: T
value to set

Type Parameters

T
TypeName
See Also