## CookieCollection::IndexOf method


지정된 쿠키의 인덱스를 반환합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 쿠키 | System::SharedPtr\<Cookie\> | 검색할 쿠키. |

### ReturnValue

지정된 쿠키가 발견되면 그 인덱스를 반환하고, 그렇지 않으면 -1을 반환합니다.

## 또 보기

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