System::Net::CookieContainer::Add metode
isi
[
bersembunyi
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Menambahkan cookie ke koleksi.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | Cookie yang akan ditambahkan. |
Lihat Juga
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Cookie>, bool) method
Menambahkan cookie ke koleksi.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | Cookie yang akan ditambahkan. |
| throwOnError | bool | Nilai yang menunjukkan apakah pengecualian akan dilempar ketika terjadi kesalahan. |
Lihat Juga
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<CookieCollection>) method
Menyalin cookie dari koleksi yang ditentukan ke koleksi saat ini.
void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| cookies | System::SharedPtr<CookieCollection> | Koleksi yang akan disalin cookie darinya. |
Lihat Juga
- Typedef SharedPtr
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++
CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<Cookie>) method
Menambahkan cookie untuk URI yang ditentukan.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| uri | System::SharedPtr<Uri> | URI cookie. |
| cookie | System::SharedPtr<Cookie> | Cookie yang akan ditambahkan. |
Lihat Juga
- 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
Menyalin cookie dari koleksi yang ditentukan untuk URI yang ditentukan ke koleksi saat ini.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| uri | System::SharedPtr<Uri> | URI cookie. |
| cookies | System::SharedPtr<CookieCollection> | Koleksi cookie yang harus disalin. |
Lihat Juga
- Typedef SharedPtr
- Class Uri
- Class CookieCollection
- Class CookieContainer
- Namespace System::Net
- Library Aspose.Page for C++