IMyTerminalControlsAddControlTBlock Method |
[This is preliminary documentation and is subject to change.]
Adds a terminal control to a block.
Namespace: Sandbox.ModAPIAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 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