Export (0) Print
Expand All

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

Starting with the .NET Framework 2.0, we recommend that you create XmlReader instances by using the XmlReader.Create method to take advantage of new functionality.

Show:
© 2014 Microsoft