System::Net::Http::Headers::NameValueHeaderValue::TryParse method

NameValueHeaderValue::TryParse method

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

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

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also