[This is preliminary documentation and is subject to change.]
The EnumDefaultValueAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EnumDefaultValueAttribute(Enum) | CTro from enumerated value | |
| EnumDefaultValueAttribute(Byte, Type) | CTor for Byte enumeration | |
| EnumDefaultValueAttribute(Int16, Type) | CTor for Int16 enumeration | |
| EnumDefaultValueAttribute(Int32, Type) | CTor for Int32 enumeration | |
| EnumDefaultValueAttribute(Int64, Type) | CTor for Int64 enumeration | |
| EnumDefaultValueAttribute(SByte, Type) | CTor for SByte enumeration | |
| EnumDefaultValueAttribute(UInt16, Type) | CTor for UInt16 enumeration | |
| EnumDefaultValueAttribute(UInt32, Type) | CTor for UInt32 enumeration | |
| EnumDefaultValueAttribute(UInt64, Type) | CTor for UInt64 enumeration |
Methods
| Name | Description | |
|---|---|---|
| Equals | Returns whether the value of the given object is equal to the current DefaultValueAttribute. (Inherited from DefaultValueAttribute.) | |
| GetHashCode | (Inherited from DefaultValueAttribute.) | |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
| SetValue | Sets the default value for the property to which this attribute is bound. (Inherited from DefaultValueAttribute.) |
Properties
| Name | Description | |
|---|---|---|
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
| Value | Gets the default value of the property this attribute is bound to. (Inherited from DefaultValueAttribute.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| _Attribute..::..GetIDsOfNames | Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from Attribute.) | |
| _Attribute..::..GetTypeInfo | Retrieves the type information for an object, which can be used to get the type information for an interface. (Inherited from Attribute.) | |
| _Attribute..::..GetTypeInfoCount | Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from Attribute.) | |
| _Attribute..::..Invoke | Provides access to properties and methods exposed by an object. (Inherited from Attribute.) |