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, XmlNameTable)

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

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

Parameters

input
The stream containing the XML data to read.
nt
The XmlNameTable to use.

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.

If you specify a name table, this constructor will use the names defined already in that table.

See Also

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