Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlTextWriter Constructor

.NET Framework 1.1

Creates an instance of the XmlTextWriter class.

Overload List

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

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(TextWriter)
[C#] public XmlTextWriter(TextWriter);
[C++] public: XmlTextWriter(TextWriter*);
[JScript] public function XmlTextWriter(TextWriter);

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

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Stream, Encoding)
[C#] public XmlTextWriter(Stream, Encoding);
[C++] public: XmlTextWriter(Stream*, Encoding*);
[JScript] public function XmlTextWriter(Stream, Encoding);

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

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Encoding)
[C#] public XmlTextWriter(string, Encoding);
[C++] public: XmlTextWriter(String*, Encoding*);
[JScript] public function XmlTextWriter(String, Encoding);

See Also

XmlTextWriter Class | XmlTextWriter Members | System.Xml Namespace

Show:
© 2015 Microsoft