## CookieCollection::idx_get(int32_t) method


Restituisce un cookie dalla raccolta di cookie all'indice specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| indice | int32_t | L'indice di un cookie che deve essere restituito. |

### ReturnValue

Un cookie all'indice specificato.

## Vedi anche

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


Restituisce un cookie dalla raccolta di cookie per nome specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| nome | Stringa | Il nome di un cookie che deve essere restituito. |

### ReturnValue

Un cookie dalla collezione di cookie per nome specificato se trovato, altrimenti nullptr.

## Vedi anche

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