## ReadOnlyCollection::IndexOf method


コレクション内の特定の項目を検索します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| 項目 | const T\& | 検索対象の項目。 |

### ReturnValue

指定された項目の最初の出現位置のインデックス、見つからない場合は負の値。

## 参照

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