EnumTEnumParse(String, Boolean) Method
Converts the string representation of the name or numeric value of one or more enumerated values to an equivalent enumerated object.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public static TEnum Parse(
string value,
bool ignoreCase
)
Public Shared Function Parse (
value As String,
ignoreCase As Boolean
) As TEnum
public:
static TEnum Parse(
String^ value,
bool ignoreCase
)
static member Parse :
value : string *
ignoreCase : bool -> 'TEnum
- value String
- The string representation of the enumerated value or values to parse.
- ignoreCase Boolean
- If , ignores case; otherwise, regards case.
TEnumThe parsed
enum value.