System::Net::CookieCollection::Contains 方法

CookieCollection::Contains method

检查集合是否包含指定的 cookie。

bool System::Net::CookieCollection::Contains(const System::SharedPtr<Cookie> &cookie) const override
参数类型描述
Cookieconst System::SharedPtr<Cookie>&要检查的 cookie。

ReturnValue

如果集合包含指定的 cookie,则为 true;否则为 false。

另见