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 stream.

public XmlTextReader (System.IO.Stream input)

Parameters

input
The System.IO.Stream containing the XML data to read.

Exceptions

TypeReason
ArgumentNullExceptioninput is null.

Remarks

This constructor is equivalent to XmlTextReader.XmlTextReader(string.Empty, input, new System.Xml.NameTable()).

Requirements

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