SpeechRecognizer.State SpeechRecognizer.State SpeechRecognizer.State SpeechRecognizer.State Property

定义

获取 SpeechRecognizer 对象的状态。Gets the state of a SpeechRecognizer object.

public:
 property System::Speech::Recognition::RecognizerState State { System::Speech::Recognition::RecognizerState get(); };
public System.Speech.Recognition.RecognizerState State { get; }
member this.State : System.Speech.Recognition.RecognizerState
Public ReadOnly Property State As RecognizerState

属性值

SpeechRecognizer 对象的状态。The state of the SpeechRecognizer object.

注解

此只读属性指示位于 Windows Stopped中的共享识别器是否处于Listening或状态。This read-only property indicates whether the shared recognizer resident in Windows is in the Stopped or the Listening state. 有关详细信息,请参见 RecognizerState 枚举。For more information, see the RecognizerState enumeration.

适用于

另请参阅