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.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XmlTextWriter(TextWriter) Creates an instance of the XmlTextWriter class using the specified TextWriter.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XmlTextWriter(Stream, Encoding) Creates an instance of the XmlTextWriter class using the specified stream and encoding.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework XmlTextWriter(String, Encoding) Creates an instance of the XmlTextWriter class using the specified file.
Top

NoteNote:

In the .NET Framework version 2.0 release, the recommended practice is to create XmlWriter instances using the XmlWriter.Create method and the XmlWriterSettings class. This allows you to take full advantage of all the new features introduced in this release. For more information, see Creating XML Writers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft