EnumToObject Method (Type, UInt64) |
Converts the specified 64-bit unsigned integer value to an enumeration member.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static Object ToObject(
Type enumType,
ulong value
)
Parameters
- enumType
- Type: SystemType
The enumeration type to return. - value
- Type: SystemUInt64
The value to convert to an enumeration member.
Return Value
Type:
ObjectAn instance of the enumeration set to
value.
Exceptions See Also