Share via


HttpCacheDirectiveHeaderValueCollection.SharedMaxAge Property

Definition

Gets or sets the value of the s-maxage directive in the Cache-Control HTTP header.

public:
 property IReference<TimeSpan> ^ SharedMaxAge { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> SharedMaxAge();

void SharedMaxAge(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> SharedMaxAge { get; set; }
var iReference = httpCacheDirectiveHeaderValueCollection.sharedMaxAge;
httpCacheDirectiveHeaderValueCollection.sharedMaxAge = iReference;
Public Property SharedMaxAge As Nullable(Of TimeSpan)

Property Value

The value of the s-maxage directive in the Cache-Control HTTP header.

Applies to