System::Net::CookieContainer::Add طريقة

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

يضيف ملف تعريف ارتباط إلى المجموعة.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
معاملنوعالوصف
ملف تعريف الارتباطSystem::SharedPtr<Cookie>ملف تعريف الارتباط المراد إضافته.

انظر أيضًا

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

يضيف ملف تعريف ارتباط إلى المجموعة.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
معاملنوعالوصف
ملف تعريف الارتباطSystem::SharedPtr<Cookie>ملف تعريف الارتباط المراد إضافته.
throwOnErrorboolقيمة تشير إلى ما إذا كان سيتم رمي استثناء عند حدوث خطأ.

انظر أيضًا

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

ينسخ ملفات تعريف الارتباط من المجموعة المحددة إلى المجموعة الحالية.

void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
معاملنوعالوصف
ملفات تعريف الارتباطSystem::SharedPtr<CookieCollection>المجموعة التي سيتم نسخ ملفات تعريف الارتباط منها.

انظر أيضًا

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

يضيف ملف تعريف ارتباط للـ URI المحدد.

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
معاملنوعالوصف
uriSystem::SharedPtr<Uri>عنوان URI لملف تعريف الارتباط.
ملف تعريف الارتباطSystem::SharedPtr<Cookie>ملف تعريف الارتباط المراد إضافته.

انظر أيضًا

CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<CookieCollection>) method

ينسخ ملفات تعريف الارتباط من المجموعة المحددة للـ URI المحدد إلى المجموعة الحالية.

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
معاملنوعالوصف
uriSystem::SharedPtr<Uri>عنوان URI لملف تعريف الارتباط.
ملفات تعريف الارتباطSystem::SharedPtr<CookieCollection>مجموعة ملفات تعريف الارتباط التي يجب نسخ ملفات تعريف الارتباط منها.

انظر أيضًا