Click or drag to resize

ConversionsEnumToObject Method

Converts the specified enum value object to an enumeration member.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Object EnumToObject(
	Type enumType,
	Object value
)

Parameters

enumType
Type: SystemType
The enum type.
value
Type: SystemObject
The enum value.

Return Value

Type: Object
An instance of the enumeration set to value.
Exceptions
ExceptionCondition
ArgumentNullException enumType is null or value is null.
ArgumentException enumType is not an enumerated type.
See Also