Parse()

EnumParseHelper::Parse(const String&, bool) method

Converts the specfied string into equivalent enum constant value.

static E System::EnumParseHelper<E, G, Guard>::Parse(const String &str, bool ignoreCase=false)

Arguments

ParameterTypeDescription
strconst String&String that is interpreted as containing the name of enum constant
ignoreCaseboolSpecifies if the case should be ignored when interpreting the string

Return Value

The enumeration constant whose name is specified in str

See Also