Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlTextReader Constructor

Initializes a new instance of the XmlTextReader.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Protected method XmlTextReader() Initializes a new instance of the XmlTextReader.
Public method XmlTextReader(Stream) Initializes a new instance of the XmlTextReader class with the specified stream.
Public method XmlTextReader(String) Initializes a new instance of the XmlTextReader class with the specified file.
Public method XmlTextReader(TextReader) Initializes a new instance of the XmlTextReader class with the specified TextReader.
Protected method XmlTextReader(XmlNameTable) Infrastructure. Initializes a new instance of the XmlTextReader class with the specified XmlNameTable.
Public method XmlTextReader(Stream, XmlNameTable) Initializes a new instance of the XmlTextReader class with the specified stream and XmlNameTable.
Public method XmlTextReader(String, Stream) Initializes a new instance of the XmlTextReader class with the specified URL and stream.
Public method XmlTextReader(String, TextReader) Initializes a new instance of the XmlTextReader class with the specified URL and TextReader.
Public method XmlTextReader(String, XmlNameTable) Initializes a new instance of the XmlTextReader class with the specified file and XmlNameTable.
Public method XmlTextReader(TextReader, XmlNameTable) Initializes a new instance of the XmlTextReader class with the specified TextReader and XmlNameTable.
Public method XmlTextReader(Stream, XmlNodeType, XmlParserContext) Initializes a new instance of the XmlTextReader class with the specified stream, XmlNodeType, and XmlParserContext.
Public method XmlTextReader(String, Stream, XmlNameTable) Initializes a new instance of the XmlTextReader class with the specified URL, stream and XmlNameTable.
Public method XmlTextReader(String, TextReader, XmlNameTable) Initializes a new instance of the XmlTextReader class with the specified URL, TextReader and XmlNameTable.
Public method XmlTextReader(String, XmlNodeType, XmlParserContext) Initializes a new instance of the XmlTextReader class with the specified string, XmlNodeType, and XmlParserContext.
Top
Note Note

In the .NET Framework 2.0 release, the recommended practice is to create XmlReader instances using the XmlReader.Create method. This allows you to take full advantage of the new features introduced in this release. For more information, see Creating XML Readers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.