System::Net::Http::Headers::MediaTypeWithQualityHeaderValue::TryParse method

MediaTypeWithQualityHeaderValue::TryParse method

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

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

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also