ConvertValueToEnumObject(Type, Object) Method

Converts an object to the corresponding Enum (based on the value in the Enum).

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static Object ValueToEnumObject(
	Type enumType,
	Object value
)

Parameters

enumType  Type
Enum to which you want to convert.
value  Object
Value to convert.

Return Value

Object
Value converted.

Exceptions

See Also