Upraviť

Zdieľať cez


ListView.CheckedIndexCollection.IList.IndexOf(Object) Method

Definition

Returns the index of the specified object in the ListView.CheckedIndexCollection.

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

Parameters

checkedIndex
Object

The zero-based index from the ListView.ListViewItemCollection to locate in the collection.

Returns

The zero-based index in the collection where the specified index of the ListView.ListViewItemCollection is located if it is in the ListView.CheckedIndexCollection; otherwise, -1.

Implements

Applies to