IAgentCommands::Remove
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT Remove(
long dwID // Command ID
);
Removes the specified Command from a Commands collection.
- Returns S_OK to indicate the operation was successful.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for