Method GetDescription
GetDescription(Enum)
Get the description in the DescriptionAttribute
Declaration
public static string GetDescription(this Enum target)
Parameters
Type | Name | Description |
---|---|---|
Enum | target | enum |
Returns
Type | Description |
---|---|
string |