Click or drag to resize

ConversionsEnumToObject Method

Converts the specified enum value object to an enumeration member.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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