SpeechRecognizer.State 属性

定义

获取 SpeechRecognizer 对象的状态。

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

属性值

RecognizerState

SpeechRecognizer 对象的状态。

注解

此只读属性指示位于 Windows 中的共享识别器是否处于 StoppedListening 状态。 有关详细信息,请参见 RecognizerState 枚举。

适用于

另请参阅