ConversionsToEnum Method (String, Type) |
Converts an input string to an enumeration member
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Object ToEnum(
string text,
Type enumType
)
Parameters
- text
- Type: SystemString
The input text. - enumType
- Type: SystemType
The enum type.
Return Value
Type:
ObjectAn instance of the enumeration set to value.
Exceptions See Also