OutputCacheParameters.Duration 屬性

定義

取得或設定快取項目保留在輸出快取中的時間。

public:
 property int Duration { int get(); void set(int value); };
public int Duration { get; set; }
member this.Duration : int with get, set
Public Property Duration As Integer

屬性值

快取項目保留在輸出快取中的秒數。 預設值為 0,表示沒有期限。

適用於

另請參閱