Modifier

Partager via


ListView.CheckedIndexCollection.IList.Contains(Object) Method

Definition

Checks whether the index corresponding with the ListViewItem is checked.

 virtual bool System.Collections.IList.Contains(System::Object ^ checkedIndex) = System::Collections::IList::Contains;
bool IList.Contains (object checkedIndex);
bool IList.Contains (object? checkedIndex);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (checkedIndex As Object) As Boolean Implements IList.Contains

Parameters

checkedIndex
Object

An index to locate in the ListView.CheckedIndexCollection.

Returns

true if the index is found in the ListView.CheckedIndexCollection; otherwise, false.

Implements

Applies to