Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Microsoft Developer Network
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
Classic
  |  
Lightweight
  |  
ScriptFree
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 2.0
Please Wait
Class Library Reference
Please Wait
System
Please Wait
Enum Structure
Please Wait
Enum Methods
Please Wait
ToObject Method
Please Wait
Collapse All
Expand All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Microsoft Visual Studio 2010/.NET Framework 4
Microsoft Visual Studio 11/.NET Framework 4.5
.NET Framework Class Library
Enum.ToObject Method
Returns an instance of the specified enumeration type set to the specified value.
Overload List
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.
See Also
Reference
Enum Structure
Enum Members
System Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2012 Microsoft. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement