System::Net::CookieContainer::Add μέθοδος
περιεχόμενα
[
κρύβω
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Προσθέτει ένα cookie στη συλλογή.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
| Parameter | Type | Περιγραφή |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | Το cookie για προσθήκη. |
Δείτε επίσης
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Cookie>, bool) method
Προσθέτει ένα cookie στη συλλογή.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
| Parameter | Type | Περιγραφή |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | Το cookie για προσθήκη. |
| throwOnError | bool | Μια τιμή που υποδεικνύει αν θα εξαχθεί εξαίρεση όταν συμβαίνει σφάλμα. |
Δείτε επίσης
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<CookieCollection>) method
Αντιγράφει cookies από τη συγκεκριμένη συλλογή στην τρέχουσα.
void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
| Parameter | Type | Περιγραφή |
|---|---|---|
| cookies | System::SharedPtr<CookieCollection> | Η συλλογή από την οποία θα αντιγραφούν τα cookies. |
Δείτε επίσης
- Typedef SharedPtr
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<Cookie>) method
Προσθέτει ένα cookie για το καθορισμένο URI.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
| Parameter | Type | Περιγραφή |
|---|---|---|
| uri | System::SharedPtr<Uri> | Ένα URI του cookie. |
| cookie | System::SharedPtr<Cookie> | Το cookie για προσθήκη. |
Δείτε επίσης
- 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
Αντιγράφει τα cookies από τη συγκεκριμένη συλλογή για το καθορισμένο URI στη τρέχουσα συλλογή.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
| Parameter | Type | Περιγραφή |
|---|---|---|
| uri | System::SharedPtr<Uri> | Ένα URI του cookie. |
| cookies | System::SharedPtr<CookieCollection> | Μια συλλογή cookie από την οποία πρέπει να αντιγραφούν τα cookies. |
Δείτε επίσης
- Typedef SharedPtr
- Class Uri
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++