System::Net::Http::Headers::CacheControlHeaderValue::GetCacheControlLength method

CacheControlHeaderValue::GetCacheControlLength method

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

static int32_t System::Net::Http::Headers::CacheControlHeaderValue::GetCacheControlLength(String input, int32_t startIndex, System::SharedPtr<CacheControlHeaderValue> storeValue, System::SharedPtr<CacheControlHeaderValue> &parsedValue)
ParameterTypeDescription
inputStringA string to parse.
startIndexint32_tA start position for parsing.
storeValueSystem::SharedPtr<CacheControlHeaderValue>A value that must be added to the parsed object.
parsedValueSystem::SharedPtr<CacheControlHeaderValue>&An instance where a parsed object will be assigned.

ReturnValue

The length of a parsed substring, otherwise 0.

See Also