HttpResponseWrapper::CacheControl Property

 

Gets or sets the Cache-Control HTTP header that matches one of the HttpCacheability enumeration values.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property String^ CacheControl {
	virtual String^ get() override;
	virtual void set(String^ value) override;
}

Property Value

Type: System::String^

The caching policy of the current response.

.NET Framework
Available since 3.5
Return to top
Show: