ListViewItem.ListViewSubItemCollection.IList.IndexOf(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.