System::Net::CookieContainer::Add メソッド

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

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

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
パラメーター説明
クッキーSystem::SharedPtr<Cookie>追加するクッキー。

参照

CookieContainer::Add(System::SharedPtr<Cookie>, bool) method

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

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
パラメーター説明
クッキーSystem::SharedPtr<Cookie>追加するクッキー。
throwOnErrorboolエラーが発生したときに例外がスローされるかどうかを示す値。

参照

CookieContainer::Add(System::SharedPtr<CookieCollection>) method

指定されたコレクションから現在のコレクションへクッキーをコピーします。

void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
パラメーター説明
クッキーSystem::SharedPtr<CookieCollection>クッキーがコピーされるコレクション。

参照

CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<Cookie>) method

指定された URI 用にクッキーを追加します。

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
パラメーター説明
uriSystem::SharedPtr<Uri>クッキーの URI。
クッキーSystem::SharedPtr<Cookie>追加するクッキー。

参照

CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<CookieCollection>) method

指定された URI 用の指定されたコレクションからクッキーを現在のコレクションへコピーします。

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
パラメーター説明
uriSystem::SharedPtr<Uri>クッキーの URI。
クッキーSystem::SharedPtr<CookieCollection>クッキーをコピーしなければならないクッキーコレクション。

参照