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