## Collection::IndexOf method


Koleksiyonda öğeyi arar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| öğe | const T\& | Aranacak öğe. |

### ReturnValue

Belirtilen öğenin ilk görülme indeks'i veya bulunamazsa -1.

## Ayrıca Bakınız

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