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 );
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.
XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace | XmlTextReader Constructor Overload List