Method GetName
GetName(T)
Gets the first enumeration name with the given value.
Declaration
public string GetName(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The enumeration value. |
Returns
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| MissingMemberException | An enumeration with the specified value was not found. |