共用方式為


HttpRequestHeaderCollection.CacheControl 屬性

定義

取得 HttpCacheDirectiveHeaderValueCollection ,表示 HTTP 要求上 Cache-Control HTTP 標頭的值。

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

屬性值

物件,表示 Cache-Control HTTP 標頭的值。 空集合表示標頭不存在。

適用於

另請參閱