System::Collections::ObjectModel::ReadOnlyCollection::IndexOf メソッド

ReadOnlyCollection::IndexOf method

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

virtual int System::Collections::ObjectModel::ReadOnlyCollection<T>::IndexOf(const T &item) const override
パラメーター説明
項目const T&検索対象の項目。

ReturnValue

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

参照