Edit

Share via


HttpResponseHeaders.CacheControl Property

Definition

Gets or sets the value of the Cache-Control header for an HTTP response.

public:
 property System::Net::Http::Headers::CacheControlHeaderValue ^ CacheControl { System::Net::Http::Headers::CacheControlHeaderValue ^ get(); void set(System::Net::Http::Headers::CacheControlHeaderValue ^ value); };
public System.Net.Http.Headers.CacheControlHeaderValue CacheControl { get; set; }
public System.Net.Http.Headers.CacheControlHeaderValue? CacheControl { get; set; }
member this.CacheControl : System.Net.Http.Headers.CacheControlHeaderValue with get, set
Public Property CacheControl As CacheControlHeaderValue

Property Value

The value of the Cache-Control header for an HTTP response.

Applies to