System.Xml.Serialization.XmlAttributes.XmlEnum Property

Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes an enumeration member.

Syntax

public XmlEnumAttribute XmlEnum { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

For each identifier you want to override, you must create an System.Xml.Serialization.XmlAttributes object, and set the XmlAttributes.XmlEnum property to an System.Xml.Serialization.XmlEnumAttribute that overrides the identifier. Add the System.Xml.Serialization.XmlAttributes object to the System.Xml.Serialization.XmlAttributeOverrides object and specify both the Type of the class that contains the enumeration, and the overridden member name.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0