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

IList::IndexOf method

指定された項目の最初のインデックスを取得します。

virtual int System::Collections::IList::IndexOf(SharedPtr<System::Object> item) const =0
パラメーター説明
項目SharedPtr<System::Object>検索対象の項目。

ReturnValue

指定された項目の最初の出現位置のインデックス、存在しない場合は -1。

参照