Enum.ToObject Method
.NET Framework 3.5
Returns an instance of the specified enumeration type set to the specified value.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ToObject(Type, Byte) | Returns an instance of the specified enumeration type set to the specified 8-bit unsigned integer value. |
|
ToObject(Type, Int16) | Returns an instance of the specified enumeration type set to the specified 16-bit signed integer value. |
|
ToObject(Type, Int32) | Returns an instance of the specified enumeration type set to the specified 32-bit signed integer value. |
|
ToObject(Type, Int64) | Returns an instance of the specified enumeration type set to the specified 64-bit signed integer value. |
|
ToObject(Type, Object) | Returns an instance of the specified enumeration set to the specified value. |
|
ToObject(Type, SByte) | Returns an instance of the specified enumeration type set to the specified 8-bit signed integer value. |
|
ToObject(Type, UInt16) | Returns an instance of the specified enumeration type set to the specified 16-bit unsigned integer value. |
|
ToObject(Type, UInt32) | Returns an instance of the specified enumeration type set to the specified 32-bit unsigned integer value. |
|
ToObject(Type, UInt64) | Returns an instance of the specified enumeration type set to the specified 64-bit unsigned integer value. |