GrammarBuilder::AppendDictation Method ()
.NET Framework (current version)
Appends the default dictation grammar to the current sequence of grammar elements.
Assembly: System.Speech (in System.Speech.dll)
For more information on dictation grammars, see DictationGrammar.
The following example creates a speech recognition grammar that incorporates dictation.
GrammarBuilder builder = new GrammarBuilder(); builder.Append("begin"); builder.AppendDictation(); builder.Append("end"); Grammar grammarWithDictation = new Grammar(builder); grammarWithDictation.Name = "Grammar with Dictation";
.NET Framework
Available since 3.0
Available since 3.0
Show: