System::Net::Http::Headers::StringWithQualityHeaderValue::TryParse method

StringWithQualityHeaderValue::TryParse method

Tries to convert a passed string to an instance of the StringWithQualityHeaderValue class.

static bool System::Net::Http::Headers::StringWithQualityHeaderValue::TryParse(String input, System::SharedPtr<StringWithQualityHeaderValue> &parsedValue)
ParameterTypeDescription
inputStringA string to parse.
parsedValueSystem::SharedPtr<StringWithQualityHeaderValue>&An instance where a parsed object will be assigned.

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also