XmlTextWriter Constructor

XmlTextWriter Constructor

 

Creates an instance of the XmlTextWriter class.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodXmlTextWriter(Stream, Encoding)

Creates an instance of the XmlTextWriter class using the specified stream and encoding.

System_CAPS_pubmethodXmlTextWriter(String, Encoding)

Creates an instance of the XmlTextWriter class using the specified file.

System_CAPS_pubmethodXmlTextWriter(TextWriter)

Creates an instance of the XmlTextWriter class using the specified TextWriter.

System_CAPS_noteNote

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.

Return to top
Show:
© 2016 Microsoft