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 } HierarchySystem.Object System.ValueType System.Enum(System.IComparable , System.IFormattable , System.IConvertible) WriteState Returned ByXmlWriter.WriteState |