0 out of 1 rated this helpful - Rate this topic

Enum.ToObject Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member ToObject(Type, Byte) Returns an instance of the specified enumeration type set to the specified 8-bit unsigned integer value.
Public method Static member ToObject(Type, Int16) Returns an instance of the specified enumeration type set to the specified 16-bit signed integer value.
Public method Static member ToObject(Type, Int32) Returns an instance of the specified enumeration type set to the specified 32-bit signed integer value.
Public method Static member ToObject(Type, Int64) Returns an instance of the specified enumeration type set to the specified 64-bit signed integer value.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToObject(Type, Object) Returns an instance of the specified enumeration set to the specified value.
Public method Static member ToObject(Type, SByte) Returns an instance of the specified enumeration type set to the specified 8-bit signed integer value.
Public method Static member ToObject(Type, UInt16) Returns an instance of the specified enumeration type set to the specified 16-bit unsigned integer value.
Public method Static member ToObject(Type, UInt32) Returns an instance of the specified enumeration type set to the specified 32-bit unsigned integer value.
Public method Static member ToObject(Type, UInt64) Returns an instance of the specified enumeration type set to the specified 64-bit unsigned integer value.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.