Export (0) Print
Expand All

GrammarBuilder Methods

The GrammarBuilder type exposes the following members.

  Name Description
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 Static member Add(String, GrammarBuilder) Creates a new GrammarBuilder that contains a phrase followed by a GrammarBuilder object.
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) Appends a phrase 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(GrammarBuilder, Int32, Int32) Appends a repeated grammar element 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 AppendDictation() Appends the default dictation grammar to the current sequence of grammar elements.
Public method AppendDictation(String) Appends the specified dictation grammar to the current sequence of grammar elements.
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(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft