共用方式為


IAgentCommand::SetConfidenceText

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

HRESULT SetConfidenceText(
   BSTR bszTipText  // ConfidenceText setting for Command 
);

設定 Command的接聽提示文字值。

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

bszTipText

BSTR,指定 CommandConfidenceText 屬性的文字。

如果傳回之 Command 事件中傳回之最佳比對的信賴值未超過 ConfidenceThreshold 屬性所設定的值,則會在接聽提示中顯示 bszTipText 中提供的文字。

另請參閱

IAgentCommand::SetConfidenceThresholdIAgentCommand::GetConfidenceThresholdIAgentCommand::GetConfidenceTextIAgentUserInput::GetItemConfidence