ConversionsEnumTryParse Method |
Converts an input object to an equivalent enumerated object. The return value indicates whether the conversion succeeded.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static bool EnumTryParse(
Type type,
Object input,
out Object value
)
Parameters
- type
- Type: SystemType
The enum type. - input
- Type: SystemObject
The input object. - value
- Type: SystemObject
The returned enum value.
Return Value
Type:
Booleantrue if conversion succeeded,
false otherwise.
Exceptions See Also