IMyTerminalControlsRemoveControlTBlock Method |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Removes a terminal control from a block.
Namespace: Sandbox.ModAPIAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void RemoveControl<TBlock>(
IMyTerminalControl item
)
Sub RemoveControl(Of TBlock) (
item As IMyTerminalControl
)
generic<typename TBlock>
void RemoveControl(
IMyTerminalControl^ item
)
abstract RemoveControl :
item : IMyTerminalControl -> unit
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