## CookieCollection::IndexOf method


Renvoie l'index du cookie spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| cookie | System::SharedPtr\<Cookie\> | Le cookie à rechercher. |

### ReturnValue

Un index du cookie spécifié s'il est trouvé, sinon -1.

## Voir aussi

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