This documentation is archived and is not being maintained.
HttpCachePolicy::SetCacheability Method
Visual Studio 2010
Sets the Cache-Control HTTP header. The Cache-Control HTTP header controls how documents are to be cached on the network.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SetCacheability(HttpCacheability) | Sets the Cache-Control header to one of the values of HttpCacheability. |
|
SetCacheability(HttpCacheability, String) | Sets the Cache-Control header to one of the values of HttpCacheability and appends an extension to the directive. |
Show: