Platform SDK: Agent

IAgentCommands::Remove

HRESULT Remove(
   long dwID  // Command ID
);

Removes the specified Command from a Commands collection.

dwID
The ID of a Command to remove from the Commands collection.

Removing a Command from a Commands collection also removes it from the pop-up menu and the Voice Commands Window when your application is input-active.

See Also

IAgentCommands::Add, IAgentCommands::Insert, IAgentCommands::RemoveAll