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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.