Export (0) Print
Expand All

Enum.ToObject Method

Converts a specified integer value to an enumeration member.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member ToObject(Type, Byte) Converts the specified 8-bit unsigned integer to an enumeration member.
Public method Static member ToObject(Type, Int16) Converts the specified 16-bit signed integer to an enumeration member.
Public method Static member ToObject(Type, Int32) Converts the specified 32-bit signed integer to an enumeration member.
Public method Static member ToObject(Type, Int64) Converts the specified 64-bit signed integer to an enumeration member.
Public method Static member ToObject(Type, Object) Converts the specified object with an integer value to an enumeration member.
Public method Static member ToObject(Type, SByte) Converts the specified 8-bit signed integer value to an enumeration member.
Public method Static member ToObject(Type, UInt16) Converts the specified 16-bit unsigned integer value to an enumeration member.
Public method Static member ToObject(Type, UInt32) Converts the specified 32-bit unsigned integer value to an enumeration member.
Public method Static member ToObject(Type, UInt64) Converts the specified 64-bit unsigned integer value to an enumeration member.
Top
Show:
© 2014 Microsoft