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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.