System::Net::CookieContainer::Add méthode
Contenu
[
Cacher
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Ajoute un cookie à la collection.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
| Paramètre | Type | Description |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | Le cookie à ajouter. |
Voir aussi
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font for C++
CookieContainer::Add(System::SharedPtr<Cookie>, bool) method
Ajoute un cookie à la collection.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
| Paramètre | Type | Description |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | Le cookie à ajouter. |
| throwOnError | bool | Une valeur qui indique si une exception sera levée lorsqu’une erreur se produit. |
Voir aussi
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font for C++
CookieContainer::Add(System::SharedPtr<CookieCollection>) method
Copie les cookies de la collection spécifiée vers la collection actuelle.
void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
| Paramètre | Type | Description |
|---|---|---|
| cookies | System::SharedPtr<CookieCollection> | La collection à partir de laquelle les cookies seront copiés. |
Voir aussi
- Typedef SharedPtr
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font for C++
CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<Cookie>) method
Ajoute un cookie pour l’URI spécifié.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
| Paramètre | Type | Description |
|---|---|---|
| uri | System::SharedPtr<Uri> | Une URI du cookie. |
| cookie | System::SharedPtr<Cookie> | Le cookie à ajouter. |
Voir aussi
- 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
Copie les cookies de la collection spécifiée pour l’URI spécifié vers la collection actuelle.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
| Paramètre | Type | Description |
|---|---|---|
| uri | System::SharedPtr<Uri> | Une URI du cookie. |
| cookies | System::SharedPtr<CookieCollection> | Une collection de cookies à partir de laquelle les cookies doivent être copiés. |
Voir aussi
- Typedef SharedPtr
- Class Uri
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Font for C++