EnumKeyAttribute constructor (1 of 2)
Initializes a new instance of the EnumKeyAttribute class with the key inferred from module attribute, if available and namespace.
public EnumKeyAttribute()
See Also
- class EnumKeyAttribute
EnumKeyAttribute constructor (2 of 2)
Initializes a new instance of the EnumKeyAttribute class with the specified key.
public EnumKeyAttribute(string value)
| parameter | description |
|---|---|
| value |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException |
See Also
- class EnumKeyAttribute