System::Net::CookieContainer::Add-Methode
Inhalt
[
Ausblenden
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Fügt ein Cookie zur Sammlung hinzu.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Cookie | System::SharedPtr<Cookie> | Der Cookie, der hinzugefügt werden soll. |
Siehe auch
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font for C++
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)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Cookie | System::SharedPtr<Cookie> | Der Cookie, der hinzugefügt werden soll. |
| throwOnError | bool | Ein Wert, der angibt, ob bei einem Fehler eine Ausnahme ausgelöst wird. |
Siehe auch
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font 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.Font 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> | Der Cookie, der hinzugefügt werden soll. |
Siehe auch
- Typedef SharedPtr
- Class Uri
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font 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.Font for C++