## CookieCollection::IndexOf method


Restituisce l'indice del cookie specificato.

```cpp
int32_t System::Net::CookieCollection::IndexOf(System::SharedPtr<Cookie> cookie)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| cookie | System::SharedPtr\<Cookie\> | Il cookie da cercare. |

### ReturnValue

Un indice del cookie specificato se trovato, altrimenti -1.

## Vedi anche

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