## IList::IndexOf method


지정된 항목의 첫 번째 인덱스를 가져옵니다.

```cpp
virtual int System::Collections::IList::IndexOf(SharedPtr<System::Object> item) const =0
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 항목 | SharedPtr\<System::Object\> | 찾을 항목. |

### ReturnValue

지정된 항목이 처음 나타나는 인덱스, 없으면 -1.

## 또 보기

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IList](../)
* Namespace [System::Collections](../../)
* Library [Aspose.Page for C++](../../../)
