Export (0) Print
Expand All
Expand Minimize

WriteState Enumeration

Specifies the state of the XmlWriter.

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

public enum class WriteState

Member nameDescription
Supported by the XNA FrameworkSupported by Portable Class LibraryAttributeIndicates that an attribute value is being written.
Supported by the XNA FrameworkSupported by Portable Class LibraryClosedIndicates that the Close method has been called.
Supported by the XNA FrameworkSupported by Portable Class LibraryContentIndicates that element content is being written.
Supported by the XNA FrameworkSupported by Portable Class LibraryElementIndicates that an element start tag is being written.
Supported by the XNA FrameworkSupported by Portable Class LibraryErrorAn 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.
NoteNote

This field was added in the .NET Framework 2.0 release.

Supported by the XNA FrameworkSupported by Portable Class LibraryPrologIndicates that the prolog is being written.
Supported by the XNA FrameworkSupported by Portable Class LibraryStartIndicates that a Write method has not yet been called.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft