Enum::ToObject Method

 

Converts a specified integer value to an enumeration member.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, Byte)

Converts the specified 8-bit unsigned integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, Int16)

Converts the specified 16-bit signed integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, Int32)

Converts the specified 32-bit signed integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, Int64)

Converts the specified 64-bit signed integer to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, Object^)

Converts the specified object with an integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, SByte)

Converts the specified 8-bit signed integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, UInt16)

Converts the specified 16-bit unsigned integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, UInt32)

Converts the specified 32-bit unsigned integer value to an enumeration member.

System_CAPS_pubmethodSystem_CAPS_staticToObject(Type^, UInt64)

Converts the specified 64-bit unsigned integer value to an enumeration member.

Return to top
Show: