Parse()

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

Converts the specfied string into equivalent enum constant.

static E System::Enum<E, 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