OpenNETCF Smart Device Framework 2.3
Assembly: OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0
Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object.
Namespace:
OpenNETCFAssembly: OpenNETCF (in OpenNETCF.dll) Version: 2.3.0.0
Syntax
| C# |
|---|
public static Object Parse( Type enumType, string value ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Parse ( _ enumType As Type, _ value As String _ ) As Object |
| Visual Basic (Usage) |
|---|
Dim enumType As Type Dim value As String Dim returnValue As Object returnValue = Enum2.Parse(enumType, _ value) |
| Visual C++ |
|---|
public: static Object^ Parse( Type^ enumType, String^ value ) |
| J# |
|---|
public static Object Parse( Type enumType, String value ) |
| JScript |
|---|
public static function Parse( enumType : Type, value : String ) : Object |
| JavaScript |
|---|
OpenNETCF.Enum2.Parse = function(enumType, value); |
Parameters
- enumType
- Type: System..::.Type
The Type of the enumeration.
- value
- Type: System..::.String
A string containing the name or value to convert.