EnumKeyAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets the enumeration key of an enum.
[AttributeUsage(AttributeTargets.Enum)]
public class EnumKeyAttribute : Attribute
| parameter | description |
|---|---|
| value | The value. |
Public Members
| name | description |
|---|---|
| EnumKeyAttribute(…) | Sets the enumeration key of an enum. |
| Value { get; } | Gets the enum key. |
Remarks
Initializes a new instance of the EnumKeyAttribute class.
See Also
- Source: EnumKeyAttribute.cs