## CookieCollection::InternalAdd method


Menambahkan cookie yang ditentukan ke dalam koleksi.

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| cookie | System::SharedPtr\<Cookie\> | Cookie yang akan ditambahkan. |
| isStrict | bool | Benar ketika cookie yang ditentukan harus menggantikan yang lama, jika tidak maka salah. |

### ReturnValue

0 ketika cookie yang ditentukan menggantikan yang lama, jika tidak maka 1.

## Lihat Juga

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