GrammarBuilder Methods

The GrammarBuilder type exposes the following members.

  NameDescription
Public method Static member Add(String, GrammarBuilder) Creates a new GrammarBuilder that contains a phrase followed by a GrammarBuilder object.
Public method Static member Add(Choices, GrammarBuilder) Creates a new GrammarBuilder that contains a Choices object followed by a GrammarBuilder object.
Public method Static member Add(GrammarBuilder, Choices) Creates a new GrammarBuilder that contains a GrammarBuilder object followed by a Choices object.
Public method Static member Add(GrammarBuilder, GrammarBuilder) Creates a new GrammarBuilder that contains a sequence of two GrammarBuilder objects.
Public method Static member Add(GrammarBuilder, String) Creates a new GrammarBuilder that contains a GrammarBuilder object followed by a phrase.
Public method Append(String) Appends a phrase to the current sequence of grammar elements.
Public method Append(Choices) Appends a set of alternatives to the current sequence of grammar elements.
Public method Append(GrammarBuilder) Appends a grammar element to the current sequence of grammar elements.
Public method Append(SemanticResultKey) Appends a semantic key to the current sequence of grammar elements.
Public method Append(SemanticResultValue) Appends a semantic value to the current sequence of grammar elements.
Public method Append(String, SubsetMatchingMode) Appends an element for a subset of a phrase to the current sequence of grammar elements.
Public method Append(String, Int32, Int32) Appends a repeated phrase to the current sequence of grammar elements.
Public method Append(GrammarBuilder, Int32, Int32) Appends a repeated grammar element to the current sequence of grammar elements.
Public method AppendDictation() Appends grammar logic to provide access the default, free-text, dictation grammar provided by the Microsoft Speech Platform SDK 11.
Public method AppendDictation(String) Appends grammar logic to provide access to a special-function dictation grammar specified by a string.
Public method AppendRuleReference(String) Appends a grammar definition file to the current sequence of grammar elements.
Public method AppendRuleReference(String, String) Appends the specified rule of a grammar definition file to the current sequence of grammar elements.
Public method AppendWildcard Appends a recognition grammar element that matches any input to the current sequence of grammar elements.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)
Top
Show: