ICommandSystem.Remove [Method]
- Last UpdatedJul 18, 2023
- 1 minute read
Removes the specified command.
Defined As
-
[VBA] Remove (commandId As String)
-
[Cicode] Remove (STRING CommandId)
-
[C++] HRESULT Remove(BSTR CommandId)
Parameters
commandId
[in] The ID of the command to be removed.
Calling Syntax
This example assumes there is a valid CommandSystem object as retrieved from a Process Analyst. (for example, VBA: ProcessAnalyst.CommandSystem).
[VBA]
Sub Example(CommandSystem As Object)
CommandSystem.Remove("MyCommand1")
End Sub
[Cicode]
FUNCTION Example(OBJECT hCommandSystem)
_ObjectCallMethod(hCommandSystem, "Remove", "MyCommand1");
END