ConvertValueToEnumObject(Type, Int32) 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,
	int value
)

Parameters

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

Return Value

Object
Value converted.

See Also