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.
Assembly: System.Xml (in System.Xml.dll)
| Member name | Description | |
|---|---|---|
| Attribute | An attribute value is being written. | |
| Closed | The Close method has been called. | |
| Content | The element content is being written. | |
| Element | An element start tag is being written. | |
| Error | 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 call will result in an InvalidOperationException. Note:This field was added in the .NET Framework 2.0 release. | |
| Prolog | The prolog is being written. | |
| Start | A Write method has not been called. |
Show:
Note: