System::Net::CookieCollection::Remove 方法

CookieCollection::Remove method

从集合中移除指定的 cookie。

bool System::Net::CookieCollection::Remove(const System::SharedPtr<Cookie> &cookie) override
ParameterType描述
cookieconst System::SharedPtr<Cookie>&要删除的 cookie。

ReturnValue

如果成功删除指定的 cookie 则返回 true,否则返回 false。

另见