System::Net::CookieContainer::Add μέθοδος

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

Προσθέτει ένα cookie στη συλλογή.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
ParameterTypeΠεριγραφή
cookieSystem::SharedPtr<Cookie>Το cookie για προσθήκη.

Δείτε επίσης

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

Προσθέτει ένα cookie στη συλλογή.

void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
ParameterTypeΠεριγραφή
cookieSystem::SharedPtr<Cookie>Το cookie για προσθήκη.
throwOnErrorboolΜια τιμή που υποδεικνύει αν θα εξαχθεί εξαίρεση όταν συμβαίνει σφάλμα.

Δείτε επίσης

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

Αντιγράφει cookies από τη συγκεκριμένη συλλογή στην τρέχουσα.

void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
ParameterTypeΠεριγραφή
cookiesSystem::SharedPtr<CookieCollection>Η συλλογή από την οποία θα αντιγραφούν τα cookies.

Δείτε επίσης

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

Προσθέτει ένα cookie για το καθορισμένο URI.

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
ParameterTypeΠεριγραφή
uriSystem::SharedPtr<Uri>Ένα URI του cookie.
cookieSystem::SharedPtr<Cookie>Το cookie για προσθήκη.

Δείτε επίσης

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

Αντιγράφει τα cookies από τη συγκεκριμένη συλλογή για το καθορισμένο URI στη τρέχουσα συλλογή.

void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
ParameterTypeΠεριγραφή
uriSystem::SharedPtr<Uri>Ένα URI του cookie.
cookiesSystem::SharedPtr<CookieCollection>Μια συλλογή cookie από την οποία πρέπει να αντιγραφούν τα cookies.

Δείτε επίσης