System::Net::CookieCollection::idx_get method

CookieCollection::idx_get(int32_t) method

Returns a cookie from the cookie collection at the specified index.

System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(int32_t index)
ParameterTypeDescription
indexint32_tThe index of a cookie that must be returned.

ReturnValue

A cookie at the specified index.

See Also

CookieCollection::idx_get(String) method

Returns a cookie from the cookie collection by specified name.

System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(String name)
ParameterTypeDescription
nameStringThe name of a cookie that must be returned.

ReturnValue

A cookie from the cookie collection by specified name when it is found, otherwise nullptr.

See Also