Mono Class Library: System.Xml Namespace

System.Xml.WriteState Enumeration

Specifies the write state of an instance of a class derived from the System.Xml.XmlWriter class. [Edit]
public enum WriteState

Remarks

When a writer is instantiated, the write state is set to Start. While content is written, the write state is set to reflect the type of content being written. When the XmlWriter.Close method is called, the write state is set to Closed. The XmlWriter.WriteEndDocument method resets the write state back to Start, allowing the writer to write a new XML document. [Edit]

Members

Member NameDescription
Attribute An attribute value is being written. [Edit]
Closed The XmlWriter.Close method has been called. [Edit]
Content Element content is being written. [Edit]
Element An element start tag is being written. [Edit]
ErrorDocumentation for this section has not yet been entered. [Edit]
Prolog The XML declaration is being written. [Edit]
Start

None of the writing methods have been called.

The XmlWriter.WriteEndDocument method resets the write state to this value.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0