IAgentCommands::RemoveAll

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT Remove();

Removes all Commands from a Commands collection.

  • Returns S_OK to indicate the operation was successful.

Removing all Commands from a Commands collection also removes them from the pop-up menu and the Voice Commands Window when your application is input-active. RemoveAll does not remove server or other client's entries.

See Also

IAgentCommands::Add, IAgentCommands::Insert, IAgentCommands::Remove