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


コレクションにクッキーを追加します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| クッキー | 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)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| クッキー | System::SharedPtr\<CookieCollection\> | 現在のコレクションにコピーされるクッキーの元となるコレクションです。 |

## 参照

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