System::Net::CookieContainer::Add-Methode

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

Fügt ein Cookie zur Sammlung hinzu.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
ParameterTypBeschreibung
CookieSystem::SharedPtr<Cookie>Der Cookie, der hinzugefügt werden soll.

Siehe auch

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

Fügt ein Cookie zur Sammlung hinzu.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
ParameterTypBeschreibung
CookieSystem::SharedPtr<Cookie>Der Cookie, der hinzugefügt werden soll.
throwOnErrorboolEin Wert, der angibt, ob bei einem Fehler eine Ausnahme ausgelöst wird.

Siehe auch

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

Kopiert Cookies aus der angegebenen Sammlung in die aktuelle.

void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
ParameterTypBeschreibung
CookiesSystem::SharedPtr<CookieCollection>Die Sammlung, aus der Cookies kopiert werden.

Siehe auch

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

Fügt ein Cookie für die angegebene URI hinzu.

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
ParameterTypBeschreibung
uriSystem::SharedPtr<Uri>Ein URI des Cookies.
CookieSystem::SharedPtr<Cookie>Der Cookie, der hinzugefügt werden soll.

Siehe auch

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

Kopiert Cookies aus der angegebenen Sammlung für die angegebene URI in die aktuelle Sammlung.

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
ParameterTypBeschreibung
uriSystem::SharedPtr<Uri>Ein URI des Cookies.
CookiesSystem::SharedPtr<CookieCollection>Eine Cookie-Sammlung, aus der Cookies kopiert werden müssen.

Siehe auch