TryParse()

ProductInfoHeaderValue::TryParse(String, System::SharedPtr<ProductInfoHeaderValue>&) method

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

static bool System::Net::Http::Headers::ProductInfoHeaderValue::TryParse(String input, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)

Arguments

ParameterTypeDescription
inputStringA string to parse.
parsedValueSystem::SharedPtr<ProductInfoHeaderValue>&An instance where a parsed object will be assigned.

Return Value

True when the parsing is successfully done, otherwise false.

See Also