System::Net::CookieContainer::Add Methode
Inhalt
[
Ausblenden
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Fügt der Sammlung ein Cookie hinzu.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Cookie | System::SharedPtr<Cookie> | Das Cookie zum Hinzufügen. |
Siehe auch
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Cookie>, bool) method
Fügt der Sammlung ein Cookie hinzu.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Cookie | System::SharedPtr<Cookie> | Das Cookie zum Hinzufügen. |
| throwOnError | bool | Ein Wert, der angibt, ob eine Ausnahme ausgelöst wird, wenn ein Fehler auftritt. |
Siehe auch
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<CookieCollection>) method
Kopiert Cookies aus der angegebenen Sammlung in die aktuelle.
void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Cookies | System::SharedPtr<CookieCollection> | Die Sammlung, aus der Cookies kopiert werden. |
Siehe auch
- Typedef SharedPtr
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| uri | System::SharedPtr<Uri> | Ein URI des Cookies. |
| Cookie | System::SharedPtr<Cookie> | Das Cookie zum Hinzufügen. |
Siehe auch
- Typedef SharedPtr
- Class Uri
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| uri | System::SharedPtr<Uri> | Ein URI des Cookies. |
| Cookies | System::SharedPtr<CookieCollection> | Eine Cookie-Sammlung, aus der Cookies kopiert werden müssen. |
Siehe auch
- Typedef SharedPtr
- Class Uri
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++