Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader Constructor

Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified URL, stream, and name table. [Edit]

public XmlTextReader (string url, System.IO.Stream input, XmlNameTable nt)

Parameters

url
A string specifying the URL to use for resolving external resources. [Edit]
input
The System.IO.Stream containing the XML data to read. [Edit]
nt
The System.Xml.XmlNameTable to use. [Edit]
url
Documentation for this section has not yet been entered. [Edit]
nt
Documentation for this section has not yet been entered. [Edit]

Exceptions

TypeReason
ArgumentNullExceptioninput or nt is null. [Edit]

Remarks

This constructor calls XmlTextReader.XmlTextReader(nt) to initialize properties of the class.

XmlTextReader.Encoding is set to the encoding corresponding to the byte-order mark at the beginning of the stream or, if no byte-order mark is found, UTF-8.

XmlTextReader.BaseURI is set to url or, if url is null, to string.Empty.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0