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