EnumMemberAttribute Class |
Namespace: System.Runtime.Serialization
public sealed class EnumMemberAttribute : Attribute
The EnumMemberAttribute type exposes the following members.
Name | Description | |
---|---|---|
EnumMemberAttribute |
Initializes a new instance of the System.Runtime.Serialization.EnumMemberAttribute
class.
|
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Value |
Gets or sets the value associated with the enumeration member the attribute
is applied to.
|