Class System.Xml.XmlWriterImplementation

Provides a base class for implementing an XML writer that writes XML documents and fragments. This class is abstract and must be inherited.

Namespace:

System.Xml

Assembly:

System.Xml.dll

Inheritance Hierarchy

System.Object

System.Xml.XmlWriter

System.Xml.XmlWriterImplementation

Syntax

public abstract class XmlWriterImplementation : XmlWriter

Remarks

The XmlWriterImplementation class provides a base for creating custom XmlWriter implementations. It defines abstract methods and properties that derived classes must implement to handle XML writing operations. This allows for flexible and extensible XML generation in various scenarios, such as writing to different output streams, applying custom formatting, or enforcing specific XML standards.

Note: You typically do not need to inherit from XmlWriterImplementation directly. For most scenarios, using the static methods on the XmlWriter class (e.g., XmlWriter.Create()) is sufficient, as they return concrete XmlWriter implementations configured with various settings. Inheriting from this class is for advanced customization scenarios.

Members

Properties

Methods

See Also