## CookieCollection::IndexOf method


Devuelve el índice de la cookie especificada.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| cookie | System::SharedPtr\<Cookie\> | La cookie a buscar. |

### ReturnValue

Un índice de la cookie especificada si se encuentra, de lo contrario -1.

## Ver también

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