BareXmlTextWriter Constructor (Stream, Encoding)
Initializes a new instance of the BareXmlTextWriter class using the specified stream and encoding value.
Namespace: Microsoft.Web.Services2.Xml
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim stream As Stream
Dim encoding As Encoding
Dim bareXmlTextWriter1 As New BareXmlTextWriter(stream, encoding)
Syntax
'Declaration
Public Sub New( _
ByVal stream As Stream, _
ByVal encoding As Encoding _
)
public BareXmlTextWriter(
Stream stream,
Encoding encoding
);
public: BareXmlTextWriter(
Stream^ stream,
Encoding^ encoding
);
public BareXmlTextWriter(
Stream stream,
Encoding encoding
);
public function BareXmlTextWriter(
stream : Stream,
encoding : Encoding
);
Parameters
- stream
The System.IO.Stream to write to.
- encoding
The System.Text.Encoding to generate.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
BareXmlTextWriter Class
Microsoft.Web.Services2.Xml Namespace