Selerix Developer Tools
GetEnumByDescription(Type,String,Boolean) Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > EnumeratorManipulation Class > GetEnumByDescription Method : GetEnumByDescription(Type,String,Boolean) Method
The enumeration type.
The descritpion.
Ignore case.
Gets the enum by provided description.
Syntax
'Declaration
 
Public Overloads Shared Function GetEnumByDescription( _
   ByVal enumType As Type, _
   ByVal description As String, _
   ByVal ignoreCase 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 enumType,
   string description,
   bool ignoreCase
)
public function GetEnumByDescription( 
    enumType: Type;
    description: String;
    ignoreCase: Boolean
): TObject; static; 
public static function GetEnumByDescription( 
   enumType : Type,
   description : String,
   ignoreCase : boolean
) : Object;
public: static Object* GetEnumByDescription( 
   Type* enumType,
   string* description,
   bool ignoreCase
) 
public:
static Object^ GetEnumByDescription( 
   Type^ enumType,
   String^ description,
   bool ignoreCase
) 

Parameters

enumType
The enumeration type.
description
The descritpion.
ignoreCase
Ignore case.
See Also

Reference

EnumeratorManipulation Class
EnumeratorManipulation Members
Overload List