## CookieContainer::set_MaxCookieSize method


Sets the maximum cookie size.

```cpp
void System::Net::CookieContainer::set_MaxCookieSize(int32_t value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int32_t | The value that must be set. |
## Remarks



A new cookie will be truncated when its size exceeds the maximum cookie size. 

## See Also

* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
