ImageList.ImageCollection.IList.IndexOf(Object) Yöntem

Tanım

IndexOf(Object) yöntemini uygular. Her durumda bir NotSupportedException atar.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

 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

Parametreler

imagevalue
Object

Listede bulunacak resim.

Döndürülenler

Int32

Listede bulunursa dizini value ; aksi takdirde -1.

Uygulamalar

Özel durumlar

Her durumda.

Şunlara uygulanır