ICommand.CommandId [Property][Get]
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the CommandId of this command.
Defined As
-
[VBA] String CommandId
-
[Cicode] STRING hCommandId
-
[C++] BSTR CommandId
Calling Syntax
This example assumes there is a valid Command object as retrieved from a Process Analyst's CommandSystem (for example, VBA: ProcessAnalyst.CommandSystem.Item(1)).
[VBA]
Sub Example(Command As Object)
Dim commandId As String
`Getting Property value
commandId = Command.CommandId
End Sub
[Cicode]
FUNCTION Example(OBJECT hCommand)
// Getting property value
STRING sCommandId = _ObjectGetProperty(hCommand,"CommandID");
END