Export (0) Print
Expand All

XmlTextWriter Constructor

Creates an instance of the XmlTextWriter class.

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

  Name Description
Public method XmlTextWriter(TextWriter) Creates an instance of the XmlTextWriter class using the specified TextWriter.
Public method XmlTextWriter(Stream, Encoding) Creates an instance of the XmlTextWriter class using the specified stream and encoding.
Public method XmlTextWriter(String, Encoding) Creates an instance of the XmlTextWriter class using the specified file.
Top

Note Note

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

Show:
© 2014 Microsoft