System::Net::Http::Headers::CacheControlHeaderValue::set_SharedMaxAge method

CacheControlHeaderValue::set_SharedMaxAge method

Sets the shared maximum age value in seconds that overrides the ‘max-age’ directive in the ‘Cache-Control’. header or the ‘Expires’ header for a shared cache.

void System::Net::Http::Headers::CacheControlHeaderValue::set_SharedMaxAge(Nullable<TimeSpan> value)
ParameterTypeDescription
valueNullable<TimeSpan>The shared maximum age that must be set.

See Also