## CookieCollection::IndexOf method


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

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| cookie | System::SharedPtr\<Cookie\> | Το cookie για αναζήτηση. |

### ReturnValue

Ένας δείκτης του καθορισμένου cookie αν βρεθεί, διαφορετικά -1.

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

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