## Collection::IndexOf method


컬렉션에서 요소를 찾습니다.

```cpp
int System::Collections::ObjectModel::Collection<T>::IndexOf(const T &item) const override
```


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

### ReturnValue

지정된 항목이 처음 나타나는 인덱스, 찾지 못하면 -1.

## 또 보기

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