共用方式為


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指示詞的值。

適用於