InputMethod.SpeechMode InputMethod.SpeechMode InputMethod.SpeechMode InputMethod.SpeechMode Property

定義

取得またはこの入力方法に対する音声モードを設定します。Gets or sets the speech mode for this input method.

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

プロパティ値

メンバー、SpeechMode現在の音声モードを指定する列挙体。A member of the SpeechMode enumeration specifying the current speech mode.

既定値は Indeterminate です。The default value is Indeterminate.

次の例では、使用する方法、SpeechModeプロパティ。The following example demonstrates how to use the SpeechMode property.

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

セキュリティ

UIPermission
音声モードの設定に関する情報にアクセスします。for access to information about the speech mode settings. 列挙型に関連付けられている: PermissionState.**無制限**します。Associated enumeration: PermissionState.**Unrestricted**.

適用対象