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


Προσθέτει ένα cookie στη συλλογή.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | Το cookie για προσθήκη. |

## Δείτε επίσης

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


Προσθέτει cookie από τη καθορισμένη συλλογή στην τρέχουσα.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| cookies | System::SharedPtr\<CookieCollection\> | Η συλλογή από την οποία τα cookies θα αντιγραφούν στην τρέχουσα. |

## Δείτε επίσης

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