Defines a design-time object that is used to build strongly-typed runtime grammars that conform to the Speech Recognition Grammar Specification (SRGS) Version 1.0.
Assembly: System.Speech (in System.Speech.dll)
Initializes a new instance of theclass.
Initializes a new instance of the GrammarBuilder object.class from a
Initializes a new instance of the SrgsRule object to be the root rule of the grammar.class and specifies an
Initializes a new instance of theclass specifying the location of the XML document that is used to fill in the instance.
Initializes a new instance of the XmlReader that references an XML-format grammar file.class from an instance of
Gets the assembly reference information for theinstance.
Gets the code-behind information for theinstance.
Gets or sets the culture information for theinstance.
Gets or sets whether line numbers should be added to inline scripts.
Gets the related namespaces for the currentinstance.
Gets or sets the programming language used for inline code in theclass.
Gets or sets the mode for theclass.
Gets or sets the namespace of theclass.
Gets or sets the phonetic alphabet of theclass.
Gets or sets the root rule of theclass.
Gets the collection of rules that are currently defined for theclass.
Gets or sets the .NET scripting language for theclass.
Gets or sets the base URI of theclass.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Writes the contents of the Speech Recognition Grammar Specification (SRGS) Version 1.0.object to an XML-format grammar file that conforms to the
You can you construct an empty SrgsRule, SrgsOneOf,SrgsItem, SrgsRuleRef, SrgsSemanticInterpretationTag, and SrgsToken. You can also construct an instance from an existing SRGS-compliant XML grammar file, from an instance of SrgsRule, or from an instance of GrammarBuilder.instance and build a grammar by adding instances of classes that represent SRGS elements, such as
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.