HttpCacheDirectiveHeaderValueCollection.SharedMaxAge 属性

定义

获取或设置 Cache-Control HTTP 标头中 s-maxage 指令的值。

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)

属性值

Cache-Control HTTP 标头中 s-maxage 指令的值。

适用于