다음을 통해 공유


InputMethod.SpeechMode 속성

정의

이 입력 방법에 대한 음성 모드를 가져오거나 설정합니다.

public:
 property System::Windows::Input::SpeechMode SpeechMode { System::Windows::Input::SpeechMode get(); void set(System::Windows::Input::SpeechMode value); };
public System.Windows.Input.SpeechMode SpeechMode { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
public System.Windows.Input.SpeechMode SpeechMode { get; set; }
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.SpeechMode : System.Windows.Input.SpeechMode with get, set
member this.SpeechMode : System.Windows.Input.SpeechMode with get, set
Public Property SpeechMode As SpeechMode

속성 값

현재 음성 모드를 지정하는 SpeechMode 열거형의 멤버입니다.

기본값은 Indeterminate입니다.

특성

예제

다음 예제에서는 사용 하는 방법에 설명 합니다 SpeechMode 속성입니다.

InputMethod.SetPreferredImeState(myTextBox, InputMethodState.On);
InputMethod.Current.ImeSentenceMode = ImeSentenceModeValues.Automatic;
InputMethod.Current.HandwritingState = InputMethodState.On;
InputMethod.Current.SpeechMode = SpeechMode.Dictation;
InputScope myInputScope = new InputScope();
myInputScope.RegularExpression = "W|P|F";
InputMethod.SetInputScope(myTextBox, myInputScope);
tb6.Text = "Configuration UI Available?: " + InputMethod.Current.CanShowConfigurationUI.ToString();
InputMethod.SetPreferredImeState(myTextBox, InputMethodState.On)
InputMethod.Current.ImeSentenceMode = ImeSentenceModeValues.Automatic
InputMethod.Current.HandwritingState = InputMethodState.On
InputMethod.Current.SpeechMode = SpeechMode.Dictation
Dim myInputScope As New InputScope()
myInputScope.RegularExpression = "W|P|F"
InputMethod.SetInputScope(myTextBox, myInputScope)
tb6.Text = "Configuration UI Available?: " & InputMethod.Current.CanShowConfigurationUI.ToString()

적용 대상