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


Agrega una cookie a la colección.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | La cookie a agregar. |

## Ver también

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


Añade cookies de la colección especificada a la actual.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| cookies | System::SharedPtr\<CookieCollection\> | La colección de la cual se copiarán las cookies a la actual. |

## Ver también

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