ToObject Method
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System Namespace
Enum Class
Enum Methods
ToObject Method
ToObject Method (Type, Byte)
ToObject Method (Type, Int16)
ToObject Method (Type, Int32)
ToObject Method (Type, Int64)
ToObject Method (Type, Object)
ToObject Method (Type, SByte)
ToObject Method (Type, UInt16)
ToObject Method (Type, UInt32)
ToObject Method (Type, UInt64)
Enum Methods
CompareTo Method
Equals Method
Format Method
GetHashCode Method
GetName Method
GetNames Method
GetTypeCode Method
GetUnderlyingType Method
GetValues Method
IConvertible.ToBoolean Method
IConvertible.ToByte Method
IConvertible.ToChar Method
IConvertible.ToDateTime Method
IConvertible.ToDecimal Method
IConvertible.ToDouble Method
IConvertible.ToInt16 Method
IConvertible.ToInt32 Method
IConvertible.ToInt64 Method
IConvertible.ToSByte Method
IConvertible.ToSingle Method
IConvertible.ToString Method
IConvertible.ToType Method
IConvertible.ToUInt16 Method
IConvertible.ToUInt32 Method
IConvertible.ToUInt64 Method
IsDefined Method
Parse Method
ToObject Method
ToString Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
Enum
.
.
::
.
ToObject Method
Returns an instance of the specified enumeration type set to the specified value.
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.
Top
See Also
Reference
Enum Class
Enum Members
System Namespace
Tags :