Modifier

SpeechRecognizer.MaxAlternates Property

Definition

Gets or sets the maximum number of alternate recognition results that the shared recognizer 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

Property Value

The maximum number of alternate results that the speech recognizer returns for each recognition operation.

Remarks

The Alternates property of the RecognitionResult class contains the collection of RecognizedPhrase objects that represent other candidate interpretations of the input.

The default value for MaxAlternates is 10.

Applies to

See also