言語

ListBox.IntegerCollection.IList.IndexOf(Object) メソッド

定義

コレクション内の指定したタブ 位置のインデックスを返します。

 virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
int IList.IndexOf(object item);
int IList.IndexOf(object? item);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (item As Object) As Integer Implements IList.IndexOf

パラメーター

item
Object

ListBox.IntegerCollection内で検索するタブ 位置。

返品

ListBox.IntegerCollectionで見つかった場合は項目の 0 から始まるインデックス。それ以外の場合は -1。

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ListBox.IntegerCollection インスタンスがIList インターフェイスにキャストされている場合にのみ使用できます。

適用対象