HttpCacheDirectiveHeaderValueCollection.SharedMaxAge Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for