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

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

Adds a terminal control to a block.

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void AddControl<TBlock>(
	IMyTerminalControl item
)

Parameters

item
Type: Sandbox.ModAPI.Interfaces.TerminalIMyTerminalControl
This is the control you're adding, created with CreateControl or CreateProperty

Type Parameters

TBlock
This is the ModAPI interface of the associated block you want to add a terminal control to
See Also