System::Net::CookieContainer::Add method
inhoud
[
verbergen
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Voegt een cookie toe aan de collectie.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
| Parameter | Type | Beschrijving |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | De cookie om toe te voegen. |
Zie ook
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Cookie>, bool) method
Voegt een cookie toe aan de collectie.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
| Parameter | Type | Beschrijving |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | De cookie om toe te voegen. |
| throwOnError | bool | Een waarde die aangeeft of er een uitzondering wordt gegooid wanneer er een fout optreedt. |
Zie ook
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<CookieCollection>) method
Kopieert cookies van de opgegeven collectie naar de huidige.
void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
| Parameter | Type | Beschrijving |
|---|---|---|
| cookies | System::SharedPtr<CookieCollection> | De collectie waaruit cookies worden gekopieerd. |
Zie ook
- Typedef SharedPtr
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<Cookie>) method
Voegt een cookie toe voor de opgegeven URI.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
| Parameter | Type | Beschrijving |
|---|---|---|
| uri | System::SharedPtr<Uri> | Een URI van de cookie. |
| cookie | System::SharedPtr<Cookie> | De cookie om toe te voegen. |
Zie ook
- 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
Kopieert cookies van de opgegeven collectie voor de opgegeven URI naar de huidige collectie.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
| Parameter | Type | Beschrijving |
|---|---|---|
| uri | System::SharedPtr<Uri> | Een URI van de cookie. |
| cookies | System::SharedPtr<CookieCollection> | Een cookiecollectie waaruit cookies moeten worden gekopieerd. |
Zie ook
- Typedef SharedPtr
- Class Uri
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++