NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextReader Constructor (Stream)

Initializes a new instance of the XmlTextReader class with the specified stream.

[Visual Basic]
Overloads Public Sub New( _
   ByVal input As Stream _
)
[C#]
public XmlTextReader(
   Stream input
);
[C++]
public: XmlTextReader(
   Stream* input
);
[JScript]
public function XmlTextReader(
   input : Stream
);

Parameters

input
The stream containing the XML data to read.

Remarks

The XmlTextReader will properly decode this stream by wrapping this stream in a StreamReader and calling SwitchEncoding according to the rules for XML encoding.

The XmlResolver is used to resolve external resources needed to correctly parse the input such as DTDs, schemas, entities and <xml:include> elements.

The default XmlNameTable is the rental model "NameTable" class.

See Also

XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace | XmlTextReader Constructor Overload List