Share via


HttpRequestHeaderCollection.CacheControl Property

Definition

Gets the HttpCacheDirectiveHeaderValueCollection that represents the value of a Cache-Control HTTP header on an HTTP request.

public:
 property HttpCacheDirectiveHeaderValueCollection ^ CacheControl { HttpCacheDirectiveHeaderValueCollection ^ get(); };
HttpCacheDirectiveHeaderValueCollection CacheControl();
public HttpCacheDirectiveHeaderValueCollection CacheControl { get; }
var httpCacheDirectiveHeaderValueCollection = httpRequestHeaderCollection.cacheControl;
Public ReadOnly Property CacheControl As HttpCacheDirectiveHeaderValueCollection

Property Value

The object that represents the value of a Cache-Control HTTP header. An empty collection means that the header is absent.

Applies to

See also