System::EnumValuesBase::Parse method

EnumValuesBase::Parse method

Returns an object that represents a value of enumeration constant of the specified enumeration type with the specified name.

static SharedPtr<Object> System::EnumValuesBase::Parse(const TypeInfo &type, const String &str, bool ignoreCase)
ParameterTypeDescription
typeconst TypeInfo&The TypeInfo object representing the type of the enumeration value to return
strconst String&The name of the enum constant
ignoreCaseboolSpecifeis if the case should be ignored when interpreting the name of the enum constant

ReturnValue

An object that represents the value of the enum constant whose name is specified in str.

See Also