Click or drag to resize
IMyTerminalControlsRemoveControlTBlock Method

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

Removes a terminal control from a block.

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

Parameters

item
Type: Sandbox.ModAPI.Interfaces.TerminalIMyTerminalControl
This is the control you're removing. Use GetControls to get the item itself.

Type Parameters

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