Click or drag to resize
XmlEnumAttribute Class
Controls how the System.Xml.Serialization.XmlSerializer serializes an enumeration member.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.Xml.SerializationXmlEnumAttribute

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public class XmlEnumAttribute : Attribute

The XmlEnumAttribute type exposes the following members.

Constructors
  NameDescription
Public methodXmlEnumAttribute
Initializes a new instance of the System.Xml.Serialization.XmlEnumAttribute class.
Public methodXmlEnumAttribute(String)
Initializes a new instance of the System.Xml.Serialization.XmlEnumAttribute class, and specifies the XML value that the System.Xml.Serialization.XmlSerializer generates or recognizes (when it serializes or deserializes the enumeration, respectively).
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyName
Gets or sets the value generated in an XML-document instance when the System.Xml.Serialization.XmlSerializer serializes an enumeration, or the value recognized when it deserializes the enumeration member.
Top
See Also