## CookieCollection::Add(const System::SharedPtr\<Cookie\>\&) method


Voegt een cookie toe aan de collectie.

```cpp
void System::Net::CookieCollection::Add(const System::SharedPtr<Cookie> &cookie) override
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | De cookie om toe te voegen. |

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Cookie](../../cookie/)
* Class [CookieCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## CookieCollection::Add(System::SharedPtr\<CookieCollection\>) method


Voegt cookies toe van de opgegeven collectie aan de huidige.

```cpp
void System::Net::CookieCollection::Add(System::SharedPtr<CookieCollection> cookies)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| cookies | System::SharedPtr\<CookieCollection\> | De collectie waarvan cookies gekopieerd zullen worden naar de huidige. |

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CookieCollection](../)
* Class [CookieCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
