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


Menambahkan cookie ke koleksi.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | Cookie yang akan ditambahkan. |

## Lihat Juga

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


Menambahkan cookie dari koleksi yang ditentukan ke yang saat ini.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| cookies | System::SharedPtr\<CookieCollection\> | Koleksi dari mana cookie akan disalin ke yang saat ini. |

## Lihat Juga

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