Language

ToolBar.ToolBarButtonCollection.IList.IndexOf(Object) メソッド

定義

コレクション内の特定の項目のインデックスを決定します。

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

パラメーター

button
Object

コレクション内で検索する項目。

戻り値

リスト内に見つかった場合は button のインデックス。それ以外の場合は -1。

実装

注釈

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

適用対象