HttpResponseHeaders.CacheControl 属性

定义

获取或设置 HTTP 响应的 Cache-Control 标头值。

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

属性值

HTTP 响应的 Cache-Control 标头值。

适用于