TerminalBlockExtentionsApplyAction Method (IMyTerminalBlock, String, ListTerminalActionParameter) |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void ApplyAction(
this IMyTerminalBlock block,
string actionName,
List<TerminalActionParameter> parameters
)
<ExtensionAttribute>
Public Shared Sub ApplyAction (
block As IMyTerminalBlock,
actionName As String,
parameters As List(Of TerminalActionParameter)
)
public:
[ExtensionAttribute]
static void ApplyAction(
IMyTerminalBlock^ block,
String^ actionName,
List<TerminalActionParameter>^ parameters
)
[<ExtensionAttribute>]
static member ApplyAction :
block : IMyTerminalBlock *
actionName : string *
parameters : List<TerminalActionParameter> -> unit
Parameters
- block
- Type: Sandbox.ModAPI.IngameIMyTerminalBlock
- actionName
- Type: SystemString
- parameters
- Type: System.Collections.GenericListTerminalActionParameter
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IMyTerminalBlock. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also