public static object ToEnum( Type enumType, string parseValue, object defaultValue )
Parameters
- enumType
- The enumeration type to convert to
- parseValue
- The input value to parse
- defaultValue
- The default value to return in case of failure to convert the given input
Return Value
The converted enumeration value