mscorlib(4.0.0.0) API with additions
XmlEnumAttribute.cs
2 {
4  [AttributeUsage(AttributeTargets.Field)]
5  [global::__DynamicallyInvokable]
6  public class XmlEnumAttribute : Attribute
7  {
8  private string name;
9 
12  [global::__DynamicallyInvokable]
13  public string Name
14  {
15  [global::__DynamicallyInvokable]
16  get
17  {
18  return name;
19  }
20  [global::__DynamicallyInvokable]
21  set
22  {
23  name = value;
24  }
25  }
26 
28  [global::__DynamicallyInvokable]
30  {
31  }
32 
35  [global::__DynamicallyInvokable]
36  public XmlEnumAttribute(string name)
37  {
38  this.name = name;
39  }
40  }
41 }
Represents the base class for custom attributes.
Definition: Attribute.cs:15
XmlEnumAttribute()
Initializes a new instance of the T:System.Xml.Serialization.XmlEnumAttribute class.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
XmlEnumAttribute(string name)
Initializes a new instance of the T:System.Xml.Serialization.XmlEnumAttribute class,...
Controls how the T:System.Xml.Serialization.XmlSerializer serializes an enumeration member.
string Name
Gets or sets the value generated in an XML-document instance when the T:System.Xml....