## CacheControlHeaderValue::set_SharedMaxAge method


Sets the shared maximum age value in seconds that overrides the 'max-age' directive in the 'Cache-Control'. header or the 'Expires' header for a shared cache.

```cpp
void System::Net::Http::Headers::CacheControlHeaderValue::set_SharedMaxAge(Nullable<TimeSpan> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | Nullable\<TimeSpan\> | The shared maximum age that must be set. |

## See Also

* Class [Nullable](../../../system/nullable/)
* Class [TimeSpan](../../../system/timespan/)
* Class [CacheControlHeaderValue](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Page for C++](../../../)
