Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader Constructor |
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified URL, System.IO.TextReader, and name table. [Edit]
|
- url
- A string specifying the URL to use for resolving external resources. [Edit]
- input
- A System.IO.TextReader, set to the correct encoding, containing the XML data to read. [Edit]
- nt
- The System.Xml.XmlNameTable to use. [Edit]
- input
- Documentation for this section has not yet been entered. [Edit]
- nt
- Documentation for this section has not yet been entered. [Edit]
Type Reason ArgumentNullException nt is null. [Edit]
If input is null, a System.Xml.XmlException is thrown when the XmlTextReader.Read method is called.
This constructor calls XmlTextReader.XmlTextReader(nt) to initialize properties of the class.
XmlTextReader.BaseURI is set to url or, if url is null, to string.Empty.
Note:[Edit]To pass a user defined string that represents full, well-formed XML data, create a System.IO.StringReader with the string and pass the System.IO.StringReader to this constructor.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0