SpeechRecognizer.MaxAlternates Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET