IndexOf()

CookieCollection::IndexOf(System::SharedPtr<Cookie>) method

Returns an index of the specified cookie.

int32_t System::Net::CookieCollection::IndexOf(System::SharedPtr<Cookie> cookie)

Arguments

ParameterTypeDescription
cookieSystem::SharedPtr<Cookie>The cookie to search for.

Return Value

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

See Also