SpeechRecognitionEngine.MaxAlternates 속성

정의

각 인식 작업을 위해 SpeechRecognitionEngine에서 반환하는 대체 인식 결과의 최대 개수를 가져오거나 설정합니다.

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

속성 값

Int32

반환할 대체 결과 수입니다.

예외

MaxAlternates가 0보다 작은 값으로 설정된 경우

설명

Alternates클래스의 속성은 RecognitionResult RecognizedPhrase 입력의 가능한 해석을 나타내는 개체의 컬렉션을 포함 합니다.

에 대 한 기본값 MaxAlternates 은 10입니다.

적용 대상

추가 정보