System::Net::CookieCollection::IndexOf method

CookieCollection::IndexOf method

Returns an index of the specified cookie.

int32_t System::Net::CookieCollection::IndexOf(System::SharedPtr<Cookie> cookie)
ParameterTypeDescription
cookieSystem::SharedPtr<Cookie>The cookie to search for.

ReturnValue

An index of the specified cookie if it’s found, otherwise -1.

See Also