Specifies the state of the XmlWriter.
public enum class WriteState
public enum WriteState
type WriteState =
Public Enum WriteState
Indicates that an attribute value is being written.
Indicates that the Close() method has been called.
Indicates that element content is being written.
Indicates that an element start tag is being written.
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.
This field was added in .NET Framework 2.0.
Indicates that the prolog is being written.
Indicates that a Write method has not yet been called.