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 file and name table. [Edit]

public XmlTextReader (string url, XmlNameTable nt)

Parameters

url
A string specifying the URL for the file containing the XML data to read. [Edit]
nt
The System.Xml.XmlNameTable to use. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionnt is null. [Edit]
System.Xml.XmlExceptionurl is null. [Edit]

Remarks

This constructor calls System.Xml.XmlTextReader(nt) to initialize properties of the class. [Edit]

Requirements

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