System::Collections::IListImplRefType::IndexOf メソッド

IListImplRefType::IndexOf method

コンテナ内で項目が最初に現れるインデックスを取得します。

virtual int System::Collections::IListImplRefType<T>::IndexOf(System::SharedPtr<System::Object> value) const override
パラメーター説明
valueSystem::SharedPtr<System::Object>検索対象の項目。

ReturnValue

コンテナ内で項目が最初に現れるインデックス(見つからない場合は -1)。

参照