ListView.CheckedListViewItemCollection.IList.IndexOf(Object) Yöntem

Tanım

Belirtilen öğenin koleksiyonundaki dizini döndürür.

 virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
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

Parametreler

item
Object

ListViewItem Koleksiyonda bulunacak öğeyi temsil eden bir.

Döndürülenler

Int32

Öğenin koleksiyondaysa sıfır tabanlı dizini; aksi takdirde, -1.

Uygulamalar

Şunlara uygulanır