GetContentRangeLength()

ContentRangeHeaderValue::GetContentRangeLength(String, int32_t, System::SharedPtr<Object>&) method

Converts a passed string from the specified position to an instance of the ContentRangeHeaderValue class.

static int32_t System::Net::Http::Headers::ContentRangeHeaderValue::GetContentRangeLength(String input, int32_t startIndex, System::SharedPtr<Object> &parsedValue)

Arguments

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

Return Value

The length of a parsed substring, otherwise 0.

See Also