Specifies the state of the XmlWriter.
public enum class WriteState
public enum WriteState
type WriteState =
Public Enum WriteState
|Attribute Attribute Attribute Attribute||3||
Indicates that an attribute value is being written.
|Closed Closed Closed Closed||5||
Indicates that the Close() method has been called.
|Content Content Content Content||4||
Indicates that element content is being written.
|Element Element Element Element||2||
Indicates that an element start tag is being written.
|Error Error Error Error||6||
An exception has been thrown, which has left the XmlWriter in an invalid state. You can call the Close() method to put the XmlWriter in the Closed state. Any other XmlWriter method calls results in an InvalidOperationException.
|Prolog Prolog Prolog Prolog||1||
Indicates that the prolog is being written.
|Start Start Start Start||0||
Indicates that a Write method has not yet been called.