System::Net::CookieContainer::Add metode

CookieContainer::Add(System::SharedPtr<Cookie>) method

Menambahkan cookie ke koleksi.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
ParameterTipeDeskripsi
cookieSystem::SharedPtr<Cookie>Cookie yang akan ditambahkan.

Lihat Juga

CookieContainer::Add(System::SharedPtr<Cookie>, bool) method

Menambahkan cookie ke koleksi.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
ParameterTipeDeskripsi
cookieSystem::SharedPtr<Cookie>Cookie yang akan ditambahkan.
throwOnErrorboolNilai yang menunjukkan apakah pengecualian akan dilempar ketika terjadi kesalahan.

Lihat Juga

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)
ParameterTipeDeskripsi
cookiesSystem::SharedPtr<CookieCollection>Koleksi yang akan disalin cookie darinya.

Lihat Juga

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)
ParameterTipeDeskripsi
uriSystem::SharedPtr<Uri>URI cookie.
cookieSystem::SharedPtr<Cookie>Cookie yang akan ditambahkan.

Lihat Juga

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)
ParameterTipeDeskripsi
uriSystem::SharedPtr<Uri>URI cookie.
cookiesSystem::SharedPtr<CookieCollection>Koleksi cookie yang harus disalin.

Lihat Juga