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


컬렉션에 쿠키를 추가합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 쿠키 | System::SharedPtr\<Cookie\> | 추가할 쿠키. |

## 또 보기

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


컬렉션에 쿠키를 추가합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 쿠키 | System::SharedPtr\<Cookie\> | 추가할 쿠키. |
| throwOnError | bool | 오류가 발생했을 때 예외가 발생하는지 여부를 나타내는 값입니다. |

## 또 보기

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


지정된 컬렉션에서 현재 컬렉션으로 쿠키를 복사합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 쿠키 | System::SharedPtr\<CookieCollection\> | 쿠키가 복사될 컬렉션입니다. |

## 또 보기

* 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


지정된 URI에 대한 쿠키를 추가합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | 쿠키의 URI입니다. |
| 쿠키 | System::SharedPtr\<Cookie\> | 추가할 쿠키. |

## 또 보기

* 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


지정된 URI에 대한 지정된 컬렉션에서 쿠키를 복사하여 현재 컬렉션에 추가합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | 쿠키의 URI입니다. |
| 쿠키 | System::SharedPtr\<CookieCollection\> | 쿠키를 복사해야 하는 쿠키 컬렉션입니다. |

## 또 보기

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