Specifies the state of the System.Xml.XmlWriter.
Member Name | Description |
---|---|
Attribute |
Indicates that an attribute value is being written. |
Closed |
Indicates that the XmlWriter.Close method has been called. |
Content |
Indicates that element content is being written. |
Element |
Indicates that an element start tag is being written. |
Error |
An exception has been thrown, which has left the System.Xml.XmlWriter in an invalid state. You can call the XmlWriter.Close method to put the System.Xml.XmlWriter in the WriteState.Closed state. Any other System.Xml.XmlWriter method calls results in an InvalidOperationException. |
Prolog |
Indicates that the prolog is being written. |
Start |
Indicates that a Write method has not yet been called. |