ערוך

שתף באמצעות


ListViewItem.ListViewSubItemCollection.IList.IndexOf(Object) Method

Definition

Returns the index within the collection of the specified subitem.

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

Parameters

subItem
Object

An object that represents the subitem to locate in the collection.

Returns

The zero-based index of the subitem if it is in the collection; otherwise, -1.

Implements

Applies to