ConversionsToEnum Method (Object, Enum) |
Converts an input value to an enumeration member
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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