Declaration
public static bool TryParse<T>(
string value,
out T result
)Summary
Finds the enum value corresponding to the specified string.
Generic type parameters
| T |
The enum type from which to retrieve the value. |
Parameters
| string | value |
A string containing the name or value to convert. |
| out T | result |
Variable receiving the converted value. |
Returns
True if the value was successfully converted; false otherwise.