共用方式為


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

屬性值

SpeechRecognizer 物件的狀態。

備註

這個唯讀屬性會指出位於 Windows 中的共用辨識器是否處於 StoppedListening 狀態。 如需詳細資訊,請參閱 RecognizerState 列舉。

適用於

另請參閱