## CookieContainer::Add(System::SharedPtr\<Cookie\>) method


Koleksiyona bir çerez ekler.

```cpp
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| çerez | System::SharedPtr\<Cookie\> | Eklenecek çerez. |

## Ayrıca Bakınız

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


Koleksiyona bir çerez ekler.

```cpp
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| çerez | System::SharedPtr\<Cookie\> | Eklenecek çerez. |
| throwOnError | bool | Bir hata oluştuğunda bir istisna fırlatılıp fırlatılmayacağını gösteren değer. |

## Ayrıca Bakınız

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


Belirtilen koleksiyondan mevcut koleksiyona çerezleri kopyalar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| çerezler | System::SharedPtr\<CookieCollection\> | Çerezlerin kopyalanacağı koleksiyon. |

## Ayrıca Bakınız

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


Belirtilen URI için bir çerez ekler.

```cpp
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | Çerezin bir URI'si. |
| çerez | System::SharedPtr\<Cookie\> | Eklenecek çerez. |

## Ayrıca Bakınız

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


Belirtilen URI için belirtilen koleksiyondan çerezleri mevcut koleksiyona kopyalar.

```cpp
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | Çerezin bir URI'si. |
| çerezler | System::SharedPtr\<CookieCollection\> | Çerezlerin kopyalanması gereken çerez koleksiyonu. |

## Ayrıca Bakınız

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