ConvertValueToEnumObject(Type, Object) 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,
Object value
)
Public Shared Function ValueToEnumObject (
enumType As Type,
value As Object
) As Object
- enumType Type
- Enum to which you want to convert.
- value Object
- Value to convert.
ObjectValue converted.