EnumTEnumParse(StringSegment, 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(
StringSegment value,
bool ignoreCase
)
Public Shared Function Parse (
value As StringSegment,
ignoreCase As Boolean
) As TEnum
public:
static TEnum Parse(
StringSegment value,
bool ignoreCase
)
static member Parse :
value : StringSegment *
ignoreCase : bool -> 'TEnum
- value StringSegment
- The string representation of the enumerated value or values to parse.
- ignoreCase Boolean
- If , ignores case; otherwise, regards case.
TEnumThe parsed
enum value.