idx_get()

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)

Arguments

ParameterTypeDescription
indexint32_tThe index of a cookie that must be returned.

Return Value

A cookie at the specified index.

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)

Arguments

ParameterTypeDescription
nameStringThe name of a cookie that must be returned.

Return Value

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

See Also