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

CookieCollection::Contains method

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

bool System::Net::CookieCollection::Contains(const System::SharedPtr<Cookie> &cookie) const override
ParameterType描述
cookieconst System::SharedPtr<Cookie>&要检查的 cookie。

ReturnValue

当集合中包含指定的 cookie 时为 true,否则为 false。

另见