Enum.ToObject Method
.NET Framework 2.0
Returns an instance of the specified enumeration type set to the specified value.
| Name | Description |
|---|---|
| Enum.ToObject (Type, Byte) | Returns an instance of the specified enumeration type set to the specified 8-bit unsigned integer value. |
| Enum.ToObject (Type, Int16) | Returns an instance of the specified enumeration type set to the specified 16-bit signed integer value. |
| Enum.ToObject (Type, Int32) | Returns an instance of the specified enumeration type set to the specified 32-bit signed integer value. |
| Enum.ToObject (Type, Int64) | Returns an instance of the specified enumeration type set to the specified 64-bit signed integer value. |
| Enum.ToObject (Type, Object) | Returns an instance of the specified enumeration set to the specified value. Supported by the .NET Compact Framework. |
| Enum.ToObject (Type, SByte) | Returns an instance of the specified enumeration type set to the specified 8-bit signed integer value. |
| Enum.ToObject (Type, UInt16) | Returns an instance of the specified enumeration type set to the specified 16-bit unsigned integer value. |
| Enum.ToObject (Type, UInt32) | Returns an instance of the specified enumeration type set to the specified 32-bit unsigned integer value. |
| Enum.ToObject (Type, UInt64) | Returns an instance of the specified enumeration type set to the specified 64-bit unsigned integer value. |