## CookieCollection::idx_get(int32_t) method


Επιστρέφει ένα cookie από τη συλλογή cookie στον καθορισμένο δείκτη.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| δείκτης | int32_t | Ο δείκτης ενός cookie που πρέπει να επιστραφεί. |

### ReturnValue

Ένα cookie στο καθορισμένο δείκτη.

## Δείτε επίσης

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


Επιστρέφει ένα cookie από τη συλλογή cookie με το καθορισμένο όνομα.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| όνομα | String | Το όνομα ενός cookie που πρέπει να επιστραφεί. |

### ReturnValue

Ένα cookie από τη συλλογή cookie με το καθορισμένο όνομα όταν βρεθεί, διαφορετικά nullptr.

## Δείτε επίσης

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