BareXmlTextWriter Constructor (String, Encoding)
Initializes a new instance of the BareXmlTextWriter class using the specified file name and encoding value.
Namespace: Microsoft.Web.Services2.Xml
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim filename As String
Dim encoding As Encoding
Dim bareXmlTextWriter1 As New BareXmlTextWriter(filename, encoding)
Syntax
'Declaration
Public Sub New( _
ByVal filename As String, _
ByVal encoding As Encoding _
)
public BareXmlTextWriter(
string filename,
Encoding encoding
);
public: BareXmlTextWriter(
String^ filename,
Encoding^ encoding
);
public BareXmlTextWriter(
System.String filename,
Encoding encoding
);
public function BareXmlTextWriter(
filename : String,
encoding : Encoding
);
Parameters
- filename
The name of the file 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