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. [Edit]

public XmlTextReader (string url)

Parameters

url
A string specifying the URL for the file containing the XML data. [Edit]

Exceptions

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

Remarks

This constructor is equivalent to System.Xml.XmlTextReader.XmlTextReader(url, new System.Xml.NameTable()). [Edit]

Requirements

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