Share via


BareXmlTextWriter Class

Implements an System.Xml.XmlTextWriter that overrides the System.Xml.XmlTextWriter.WriteStartDocument method so the XML declaration is not written out.

Namespace: Microsoft.Web.Services2.Xml
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim writer As TextWriter
Dim bareXmlTextWriter1 As New BareXmlTextWriter(writer)

Syntax

'Declaration
Public Class BareXmlTextWriter
    Inherits XmlTextWriter
public class BareXmlTextWriter : XmlTextWriter
public ref class BareXmlTextWriter : public XmlTextWriter
public class BareXmlTextWriter extends XmlTextWriter
public class BareXmlTextWriter extends XmlTextWriter

Inheritance Hierarchy

System.Object
  System.Xml.XmlWriter
    System.Xml.XmlTextWriter
      Microsoft.Web.Services2.Xml.BareXmlTextWriter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Microsoft.Web.Services2.Xml Namespace

Other Resources

BareXmlTextWriter Members