Add()

CookieCollection::Add(const System::SharedPtr<Cookie>&) method

Adds a cookie to the collection.

void System::Net::CookieCollection::Add(const System::SharedPtr<Cookie> &cookie) override

Arguments

ParameterTypeDescription
cookieconst System::SharedPtr<Cookie>&The cookie to add.

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

Adds cookies from the specified collection to the current one.

void System::Net::CookieCollection::Add(System::SharedPtr<CookieCollection> cookies)

Arguments

ParameterTypeDescription
cookiesSystem::SharedPtr<CookieCollection>The collection from which cookies will be copied to the current one.

See Also