







Initializes a new instance of the SrgsDocument class.
Overload List
Name | Description | |
---|---|---|
![]() | SrgsDocument()()()() | Initializes a new instance of the SrgsDocument class. |
![]() | SrgsDocument(String) | Initializes a new instance of the SrgsDocument class specifying the location of the XML document that is used to fill in the SrgsDocument instance. |
![]() | SrgsDocument(XmlReader) | Initializes a new instance of the SrgsDocument class from an instance of XmlReader that references an XML-format grammar file. |
![]() | SrgsDocument(GrammarBuilder) | Initializes a new instance of the SrgsDocument class from a GrammarBuilder object. |
![]() | SrgsDocument(SrgsRule) | Initializes a new instance of the SrgsDocument class and specifies an SrgsRule object to be the root rule of the grammar. |
Remarks
Using the constructors for the SrgsDocument class, you can create an instance of SrgsDocument from a GrammarBuilder, SrgsRule, or XmlReader object, from a string that contains the path to an XML-format grammar, or you can initiate a blank instance of SrgsDocument.