Gets the enum by provided description.
Syntax
'Declaration
Public Overloads Shared Function GetEnumByDescription( _
ByVal As Type, _
ByVal As String, _
ByVal As Boolean _
) As Object
'Usage
Dim enumType As Type
Dim description As String
Dim ignoreCase As Boolean
Dim value As Object
value = EnumeratorManipulation.GetEnumByDescription(enumType, description, ignoreCase)
public static object GetEnumByDescription(
Type ,
string ,
bool
)
public function GetEnumByDescription(
: Type;
: String;
: Boolean
): TObject; static;
public static function GetEnumByDescription(
: Type,
: String,
: boolean
) : Object;
public: static Object* GetEnumByDescription(
Type* ,
string* ,
bool
)
public:
static Object^ GetEnumByDescription(
Type^ ,
String^ ,
bool
)
Parameters
- enumType
- The enumeration type.
- description
- The descritpion.
- ignoreCase
- Ignore case.
See Also