Contains()

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

Checks if the collection contains the specified cookie.

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

Arguments

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

Return Value

True when the collection contains the specified cookie, otherwise false.

See Also