ListView.CheckedIndexCollection.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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.