System::Net::Http::Headers::ProductHeaderValue::GetProductLength method

ProductHeaderValue::GetProductLength method

Converts a passed string from the specified index to an instance of the ProductHeaderValue class.

static int32_t System::Net::Http::Headers::ProductHeaderValue::GetProductLength(String input, int32_t startIndex, System::SharedPtr<ProductHeaderValue> &parsedValue)
ParameterTypeDescription
inputStringA string to parse.
startIndexint32_tA start position for parsing.
parsedValueSystem::SharedPtr<ProductHeaderValue>&An instance where a parsed object will be assigned.

ReturnValue

Returns the length of a parsed substring, otherwise 0.

See Also