System Namespace Enum Class
Returns an instance of the specified enumeration type set to the specified 64-bit signed integer value.
[ VB ]
<Serializable>
Overloads Public Shared Function ToObject ( _
ByVal enumType As Type, _
ByVal value As Long _
) As Object
[ C# ]
[Serializable]
public static object ToObject (
Type enumType,
long value
);
[ C++ ]
[Serializable]
public: static Object* ToObject (
Type* enumType,
__int64 value
);
[JScript ]
public Serializable
static function ToObject (
enumType : Type,
value : long
) : Object;
- enumType
- The enumeration for which to create a value.
- value
- The value to set.
An instance of the enumeration set to value.
Enum Members Enum.ToObject Overload List