XmlTextWriter Constructor
.NET Framework (current version)
Creates an instance of the XmlTextWriter class.
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | XmlTextWriter(TextWriter^) | Creates an instance of the XmlTextWriter class using the specified TextWriter. |
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:

