WriteState Enumeration

WriteState Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies the state of the XmlWriter.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
AttributeAn attribute value is being written.
ClosedThe Close method has been called.
ContentThe element content is being written.
ElementAn element start tag is being written.
ErrorAn 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 call will result in an InvalidOperationException.
NoteNote:
This field was added in the .NET Framework 2.0 release.
PrologThe prolog is being written.
StartA Write method has not been called.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft