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

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

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

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

انظر أيضًا

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

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

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

انظر أيضًا

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

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

void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
ParameterTypeالوصف
ملفات تعريف الارتباط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)
ParameterTypeالوصف
uriSystem::SharedPtr<Uri>مسار URI لملف تعريف الارتباط.
ملف تعريف الارتباطSystem::SharedPtr<Cookie>ملف تعريف الارتباط للإضافة.

انظر أيضًا

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

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

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

انظر أيضًا