HttpResponseBase.CacheControl 属性

定义

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

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

属性值

String

当前响应的缓存策略。

例外

适用于