ConvertValueToEnumObject(Type, Int32) Method
Converts an object to the corresponding Enum (based on the value in the Enum).
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static Object ValueToEnumObject(
Type enumType,
int value
)
Public Shared Function ValueToEnumObject (
enumType As Type,
value As Integer
) As Object
- enumType Type
- Enum to which you want to convert.
- value Int32
- Value to convert.
ObjectValue converted.