InputMethod.SpeechMode Propiedad

Definición

Obtiene o establece el modo de voz para este método de entrada.

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

Valor de propiedad

Miembro de la enumeración SpeechMode que especifica el modo de voz actual.

El valor predeterminado es Indeterminate.

Atributos

Ejemplos

En el ejemplo siguiente se muestra cómo usar la SpeechMode propiedad .

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()

Se aplica a