次の方法で共有


IAgentCommand::SetConfidenceText

[Microsoft エージェントは Windows 7 の時点で非推奨となり、以降のバージョンの Windows では使用できない場合があります。]

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

Command の Listening Tip テキストの値を設定 します

  • 操作が成功したことを示すS_OKを返します。

bszTipText

CommandConfidenceText プロパティのテキストを指定する BSTR。

Command イベントで返される最適一致の信頼度値が ConfidenceThreshold プロパティに設定されている値を超えない場合は、bszTipText で指定されたテキストがリッスン ヒントに表示されます。

参照

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