set_SharedMaxAge()

CacheControlHeaderValue::set_SharedMaxAge(Nullable<TimeSpan>) 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)

Arguments

ParameterTypeDescription
valueNullable<TimeSpan>The shared maximum age that must be set.

See Also