[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]
HRESULT Remove(
long dwID // Command ID
);
- 傳回S_OK,表示作業成功。
從 Commands 集合中移除 Command,也會從彈出視窗中移除它,並在應用程式為輸入作用中時,語音命令視窗 移除它。
另請參閱
IAgentCommands::Add、IAgentCommands::Insert、IAgentCommands::RemoveAll