SpeechHypothesizedEventArgs 클래스

정의

Returns notification from SpeechHypothesized or SpeechHypothesized이벤트에서 알림을 반환합니다.

이 클래스는 .NET Framework 인프라를 지원하며 애플리케이션 코드에서는 직접 사용할 수 없습니다.

public ref class SpeechHypothesizedEventArgs : System::Speech::Recognition::RecognitionEventArgs
[System.Serializable]
public class SpeechHypothesizedEventArgs : System.Speech.Recognition.RecognitionEventArgs
public class SpeechHypothesizedEventArgs : System.Speech.Recognition.RecognitionEventArgs
[<System.Serializable>]
type SpeechHypothesizedEventArgs = class
    inherit RecognitionEventArgs
type SpeechHypothesizedEventArgs = class
    inherit RecognitionEventArgs
Public Class SpeechHypothesizedEventArgs
Inherits RecognitionEventArgs
상속
SpeechHypothesizedEventArgs
특성

예제

아래 예제에 대 한 처리기를 만듭니다 SpeechRecognizer.SpeechHypothesized 또는 SpeechRecognitionEngine.SpeechHypothesized 이벤트입니다. 인스턴스를 사용 하 여 처리기 SpeechHypothesizedEventArgs 반환 하 고는 임시 인식 된 구와 대 한 정보를 표시 합니다.

// Create a handler for the SpeechHypothesized event.  
recognizer.SpeechHypothesized += new EventHandler<SpeechHypothesizedEventArgs>(recognizer_SpeechHypothesized);  

// Handle the event and display the hypothesized result.  
void recognizer_SpeechHypothesized (object sender, SpeechHypothesizedEventArgs e)  
  {  
    Console.WriteLine("Hypothesized text: " + e.Result.Text);  
  }  

설명

A SpeechHypothesized 이벤트를 발생 합니다 SpeechRecognizerSpeechRecognitionEngine 클래스입니다.

사용 하 여를 임시 인식 된 구와 대 한 자세한 정보를 얻을 수 있습니다는 Result 속성입니다.

다양 한 SpeechHypothesized 이벤트가 생성 되는 인식으로 엔진을 입력된 구 식별 하려고 합니다. 일반적으로 이러한 이벤트를 처리는 디버깅에 대해서만 유용 합니다.

SpeechHypothesizedEventArgsRecognitionEventArgs로부터 파생됩니다.

속성

Result

음성 인식 이벤트와 연결된 인식 결과 데이터를 가져옵니다.

(다음에서 상속됨 RecognitionEventArgs)

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보