System::Net::Http::Headers::ProductHeaderValue::TryParse method

ProductHeaderValue::TryParse method

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

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

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also