共用方式為


IAgentCommands::RemoveAll

[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]

HRESULT Remove();

Commands 集合中移除所有 命令

  • 傳回S_OK,表示作業成功。

Commands 集合中移除所有 命令,也會從彈出視窗中移除它們,並在您的應用程式處於輸入作用中時,語音命令視窗 移除它們。 RemoveAll 不會移除伺服器或其他客戶端的專案。

另請參閱

IAgentCommands::AddIAgentCommands::InsertIAgentCommands::Remove