## IList::IndexOf method


컨테이너에서 항목이 처음 나타나는 인덱스를 가져옵니다.

```cpp
virtual int System::Collections::Generic::IList<T>::IndexOf(const T &item) const =0
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 항목 | const T\& | 찾을 항목. |

### ReturnValue

컨테이너에서 항목이 처음 나타나는 인덱스, 찾지 못하면 -1을 반환합니다.

## 또 보기

* Class [IList](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
