GetCacheControlLength()

CacheControlHeaderValue::GetCacheControlLength(String, int32_t, System::SharedPtr<CacheControlHeaderValue>, System::SharedPtr<CacheControlHeaderValue>&) 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)

Arguments

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.

Return Value

The length of a parsed substring, otherwise 0.

See Also