ConversionsToEnum Method (Object, Enum) |
Converts an input value 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(
Object obj,
Enum defaultValue
)
Parameters
- obj
- Type: SystemObject
The input object. - defaultValue
- Type: SystemEnum
The default value if conversion is not possible.
Return Value
Type:
ObjectAn instance of the enumeration set to value.
Exceptions See Also