## HttpRequestHeaders::set_CacheControl method


Sets a value of the 'Cache-Control' header.

```cpp
void System::Net::Http::Headers::HttpRequestHeaders::set_CacheControl(System::SharedPtr<CacheControlHeaderValue> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<CacheControlHeaderValue\> | The value that must be set. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CacheControlHeaderValue](../../cachecontrolheadervalue/)
* Class [HttpRequestHeaders](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.PUB for C++](../../../)
