Share via


HttpResponseWrapper.CacheControl 属性

定义

获取或设置与 HttpCacheability 枚举值之一匹配的 Cache-Control HTTP 标头。

public:
 virtual property System::String ^ CacheControl { System::String ^ get(); void set(System::String ^ value); };
public override string CacheControl { get; set; }
member this.CacheControl : string with get, set
Public Overrides Property CacheControl As String

属性值

当前响应的缓存策略。

适用于