HttpResponseWrapper.Expires 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會設定或設定客戶端或代理伺服器快取頁面到期前的分鐘數。 如果使用者在頁面過期前返回同一頁面,則會顯示快取版本。 Expires 是為了與早期版本的 ASP 相容而提供。
public:
virtual property int Expires { int get(); void set(int value); };
public override int Expires { get; set; }
member this.Expires : int with get, set
Public Overrides Property Expires As Integer
屬性值
頁面到期前的分鐘數。