SpeechRecognitionResult.Constraint プロパティ

定義

認識結果に使用される制約を取得します。

public:
 property ISpeechRecognitionConstraint ^ Constraint { ISpeechRecognitionConstraint ^ get(); };
ISpeechRecognitionConstraint Constraint();
public ISpeechRecognitionConstraint Constraint { get; }
var iSpeechRecognitionConstraint = speechRecognitionResult.constraint;
Public ReadOnly Property Constraint As ISpeechRecognitionConstraint

プロパティ値

認識結果に使用される制約。 定義済みの文法を使用したリモート認識の場合は Null (SpeechRecognitionTopicConstraint)。

注釈

Constraints プロパティに制約が指定されていない場合でも、RecognizeAsync または RecognizeWithUIAsync の前に CompileConstraintsAsync を呼び出す必要があります。

適用対象

こちらもご覧ください