## ReadOnlyCollection::IndexOf method


Koleksiyonda belirli bir öğeyi arar.

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


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| öğe | const T\& | Aranacak öğe. |

### ReturnValue

Belirtilen öğenin ilk oluşumunun indeksi veya bulunamazsa negatif değer.

## Ayrıca Bakınız

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