## CookieCollection::idx_get(int32_t) method


Gibt ein Cookie aus der Cookie‑Sammlung am angegebenen Index zurück.

```cpp
System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(int32_t index)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Index | int32_t | Der Index eines Cookies, das zurückgegeben werden muss. |

### ReturnValue

Ein Cookie am angegebenen Index.

## Siehe auch

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Cookie](../../cookie/)
* Class [CookieCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## CookieCollection::idx_get(String) method


Gibt ein Cookie aus der Cookie‑Sammlung anhand des angegebenen Namens zurück.

```cpp
System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(String name)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| name | String | Der Name eines Cookies, das zurückgegeben werden muss. |

### ReturnValue

Ein Cookie aus der Cookie-Sammlung mit dem angegebenen Namen, wenn es gefunden wird, sonst nullptr.

## Siehe auch

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Cookie](../../cookie/)
* Class [String](../../../system/string/)
* Class [CookieCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
