## CookieCollection::InternalAdd method


يضيف الكوكي المحدد إلى المجموعة.

```cpp
int32_t System::Net::CookieCollection::InternalAdd(System::SharedPtr<Cookie> cookie, bool isStrict)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| ملف تعريف الارتباط | System::SharedPtr\<Cookie\> | ملف تعريف الارتباط للإضافة. |
| isStrict | bool | صحيح عندما يجب أن يستبدل ملف تعريف الارتباط المحدد القديم، وإلا خاطئ. |

### ReturnValue

0 عندما استبدل ملف تعريف الارتباط المحدد القديم، وإلا 1.

## انظر أيضًا

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