XmlEnumAttribute Class |
Namespace: System.Xml.Serialization
public class XmlEnumAttribute : Attribute
The XmlEnumAttribute type exposes the following members.
Name | Description | |
---|---|---|
XmlEnumAttribute |
Initializes a new instance of the System.Xml.Serialization.XmlEnumAttribute
class.
| |
XmlEnumAttribute(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).
|
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Name |
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.
|