Name

WriteState

Synopsis

As its name implies, this enumeration specifies the state of an XmlWriter instance: closed (Closed), not yet started (Start), or in the process of writing some portion of the XML document (Attribute, Content, Element, or Prolog).

public enum WriteState {
   Start = 0,
   Prolog = 1,
   Element = 2,
   Attribute = 3,
   Content = 4,
   Closed = 5
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) WriteState

Returned By

XmlWriter.WriteState

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.