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


Fügt der Sammlung ein Cookie hinzu.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Cookie | const System::SharedPtr\<Cookie\>\& | Das Cookie zum Hinzufügen. |

## Siehe auch

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


Fügt Cookies aus der angegebenen Sammlung zur aktuellen hinzu.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Cookies | System::SharedPtr\<CookieCollection\> | Die Sammlung, aus der Cookies in die aktuelle kopiert werden. |

## Siehe auch

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