SpeechRecognitionEngine.MaxAlternates SpeechRecognitionEngine.MaxAlternates SpeechRecognitionEngine.MaxAlternates SpeechRecognitionEngine.MaxAlternates Property

定義

SpeechRecognitionEngine が各認識操作に対して返す代替認識結果の最大数を取得または設定します。Gets or sets the maximum number of alternate recognition results that the SpeechRecognitionEngine returns for each recognition operation.

public:
 property int MaxAlternates { int get(); void set(int value); };
public int MaxAlternates { get; set; }
member this.MaxAlternates : int with get, set
Public Property MaxAlternates As Integer

プロパティ値

返される代替結果の数。The number of alternate results to return.

例外

注釈

Alternatesのプロパティ、RecognitionResultクラスのコレクションを格納するRecognizedPhrase入力の解釈を表すオブジェクト。The Alternates property of the RecognitionResult class contains the collection of RecognizedPhrase objects that represent possible interpretations of the input.

既定値MaxAlternates10。The default value for MaxAlternates is 10.

適用対象

こちらもご覧ください