NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextWriter Constructor (Stream, Encoding)

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal w As Stream, _
   ByVal encoding As Encoding _
)
[C#]
public XmlTextWriter(
   Stream w,
   Encoding encoding
);
[C++]
public: XmlTextWriter(
   Stream* w,
   Encoding* encoding
);
[JScript]
public function XmlTextWriter(
   w : Stream,
   encoding : Encoding
);

Parameters

w
Stream that you want to write to
encoding
[To be supplied.]

Exceptions

Exception Type Condition
ArgumentException if encoding is not supported.

See Also

XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace | XmlTextWriter Constructor Overload List