XmlTextWriter Constructor
.NET Framework 4
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 | |
|---|---|---|
|
XmlTextWriter(TextWriter) | Creates an instance of the XmlTextWriter class using the specified TextWriter. |
|
XmlTextWriter(Stream, Encoding) | Creates an instance of the XmlTextWriter class using the specified stream and encoding. |
|
XmlTextWriter(String, Encoding) | Creates an instance of the XmlTextWriter class using the specified file. |
Note
|
|---|
|
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. |
Note