GetProductInfoLength()

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

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

static int32_t System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength(String input, int32_t startIndex, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)

Arguments

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

Return Value

Returns the length of a parsed substring, otherwise 0.

See Also