Method Parse
Parse(string)
Gets the enumeration value parsed from the specified string.
Declaration
public T Parse(string s)
Parameters
| Type | Name | Description |
|---|---|---|
| string | s | The string to be parsed. |
Returns
| Type | Description |
|---|---|
| T |
Exceptions
| Type | Condition |
|---|---|
| FormatException | Input string was not in a correct format. |