SpeechMode Sabit listesi
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Konuşma girişi için yorumlama modunu belirtir.
public enum class SpeechMode
public enum SpeechMode
type SpeechMode =
Public Enum SpeechMode
- Devralma
Alanlar
| Name | Değer | Description |
|---|---|---|
| Command | 1 | Konuşma girişi komut olarak yorumlanır. |
| Dictation | 0 | Konuşma girişi dikte olarak yorumlanır. |
| Indeterminate | 2 | Konuşma girişi modu belirsiz. |
Örnekler
Aşağıdaki örnek, numaralandırmayı kullanarak SpeechMode konuşma modunun nasıl belirtileceğini gösterir.
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()