HttpResponseBase.CacheControl Property

Definition

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

Property Value

The caching policy of the current response.

Exceptions

Applies to