ListView.CheckedIndexCollection.IList.Contains Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Checks whether the index corresponding with the ListViewItem is checked.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

bool IList.Contains(
	object checkedIndex


Type: System.Object

An index to locate in the ListView.CheckedIndexCollection.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top