ImageList.ImageCollection.IList.IndexOf(Object) メソッド

定義

IndexOf(Object) メソッドを実装します。 常に NotSupportedException をスローします。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

imagevalue
Object

リスト内で検索するイメージ。

戻り値

Int32

リストに存在する場合は value のインデックス。それ以外の場合は -1。

実装

例外

すべての場合。

適用対象