System::Net::CookieCollection::Add method

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

Adds a cookie to the collection.

void System::Net::CookieCollection::Add(const System::SharedPtr<Cookie> &cookie) override
ParameterTypeDescription
cookieconst System::SharedPtr<Cookie>&The cookie to add.

See Also

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)
ParameterTypeDescription
cookiesSystem::SharedPtr<CookieCollection>The collection from which cookies will be copied to the current one.

See Also