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


يضيف ملف تعريف ارتباط إلى المجموعة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| ملف تعريف الارتباط | const System::SharedPtr\<Cookie\>\& | ملف تعريف الارتباط للإضافة. |

## انظر أيضًا

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


يضيف ملفات تعريف الارتباط من المجموعة المحددة إلى الحالية.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| ملفات تعريف الارتباط | System::SharedPtr\<CookieCollection\> | المجموعة التي سيتم نسخ ملفات تعريف الارتباط منها إلى الحالية. |

## انظر أيضًا

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