共用方式為


HttpCacheDirectiveHeaderValueCollection.MaxStale 屬性

定義

取得或設定Cache-Control HTTP 標頭中max-stale 指示詞的值。

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

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

屬性值

Cache-Control HTTP 標頭中max-stale 指示詞的值。

適用於