Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
Enum Class
Enum Methods
ToObject Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Enum..::.ToObject Method

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

  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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker