.NET Framework Class Library
Enum..::.ToObject Method

Returns an instance of the specified enumeration type set to the specified value.

Overload List

  NameDescription
Public methodStatic memberToObject(Type, Byte)Returns an instance of the specified enumeration type set to the specified 8-bit unsigned integer value.
Public methodStatic memberToObject(Type, Int16)Returns an instance of the specified enumeration type set to the specified 16-bit signed integer value.
Public methodStatic memberToObject(Type, Int32)Returns an instance of the specified enumeration type set to the specified 32-bit signed integer value.
Public methodStatic memberToObject(Type, Int64)Returns an instance of the specified enumeration type set to the specified 64-bit signed integer value.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToObject(Type, Object)Returns an instance of the specified enumeration set to the specified value.
Public methodStatic memberToObject(Type, SByte)Returns an instance of the specified enumeration type set to the specified 8-bit signed integer value.
Public methodStatic memberToObject(Type, UInt16)Returns an instance of the specified enumeration type set to the specified 16-bit unsigned integer value.
Public methodStatic memberToObject(Type, UInt32)Returns an instance of the specified enumeration type set to the specified 32-bit unsigned integer value.
Public methodStatic memberToObject(Type, UInt64)Returns an instance of the specified enumeration type set to the specified 64-bit unsigned integer value.
Top
See Also

Reference

Tags :


Page view tracker