HttpResponseBase.CacheControl Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

abstract CacheControl : string with get, set
override CacheControl : string with get, set

Property Value

Type: System.String

The caching policy of the current response.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: