XmlEnumAttribute
Controls how the XmlSerializer serializes an enumeration member.
Gets or sets the value generated in an XML-document instance when the XmlSerializer serializes an enumeration, or the value recognized when it deserializes the enumeration member.
public XmlEnumAttribute()
Initializes a new instance of the XmlEnumAttribute class.
Initializes a new instance of the XmlEnumAttribute class, and specifies the XML value that the XmlSerializer generates or recognizes (when it serializes or deserializes the enumeration, respectively).