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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.