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 System.IO.TextReader, and name table.

public XmlTextReader (System.IO.TextReader input, XmlNameTable nt)

Parameters

input
A System.IO.TextReader, set to the correct encoding, containing the XML data to read.
nt
The System.Xml.XmlNameTable to use.

Exceptions

TypeReason
ArgumentNullExceptionnt is null.

Remarks

This constructor is equivalent to XmlTextReader.XmlTextReader(string.Empty, input, nt).

Requirements

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