Remove()

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

Removes the specified cookie from the collection.

bool System::Net::CookieCollection::Remove(const System::SharedPtr<Cookie> &cookie) override

Arguments

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

Return Value

True when the specified cookie is removed successfully, otherwise false.

See Also