HttpResponseBase.CacheControl 屬性

定義

取得或設定符合其中一個 Cache-Control 列舉值的 HttpCacheability HTTP 標頭。Gets or sets the Cache-Control HTTP header that matches one of the HttpCacheability enumeration values.

public:
 virtual property System::String ^ CacheControl { System::String ^ get(); void set(System::String ^ value); };
public virtual string CacheControl { get; set; }
member this.CacheControl : string with get, set
Public Overridable Property CacheControl As String

屬性值

String

目前回應的快取原則。The caching policy of the current response.

例外狀況

永遠。Always.

適用於