M-Files UI Extensibility Framework
ExecuteCommand Method
ICommands Interface : ExecuteCommand Method
The command id. Can be a built-in command enumerated value or custom command id.
Command argument or an arguments object, if the command requires arguments. Use null or empty value if the command does not require arguments.
Description
Executes a user command.
Syntax
Visual Basic
Public Sub ExecuteCommand( _
   ByVal command As Long, _
   ByVal arguments As Variant _
) 
Parameters
command
The command id. Can be a built-in command enumerated value or custom command id.
arguments
Command argument or an arguments object, if the command requires arguments. Use null or empty value if the command does not require arguments.
Remarks

Executes a custom or built-in command or a custom command, including the New Object command that requires object type as its argument.

Supported in M-Files 10.0.3911.3 and newer.

See Also

ICommands Interface  | ICommands Members