OpenNETCF Smart Device Framework 2.3
Assembly: OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0
Returns an instance of the specified enumeration set to the specified value.
Namespace:
OpenNETCFAssembly: OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0
Syntax
| C# |
|---|
public static Object ToObject( Type enumType, Object value ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ToObject ( _ enumType As Type, _ value As Object _ ) As Object |
| Visual Basic (Usage) |
|---|
Dim enumType As Type Dim value As Object Dim returnValue As Object returnValue = Enum2.ToObject(enumType, _ value) |
| Visual C++ |
|---|
public: static Object^ ToObject( Type^ enumType, Object^ value ) |
| J# |
|---|
public static Object ToObject( Type enumType, Object value ) |
| JScript |
|---|
public static function ToObject( enumType : Type, value : Object ) : Object |
| JavaScript |
|---|
OpenNETCF.Enum2.ToObject = function(enumType, value); |