## HttpResponseHeaders::set_CacheControl method


设置 'Cache-Control' 标头的值。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | System::SharedPtr\<CacheControlHeaderValue\> | 必须设置的值。 |

## 另见

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