CheckedListBox.CheckedItemCollection.Contains Method (Object)

 

Determines whether the specified item is located in the collection.

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

public bool Contains(
	object item
)

Parameters

item
Type: System.Object

An object from the items collection.

Return Value

Type: System.Boolean

true if item is in the collection; otherwise, false.

This method determines if an object from the Items collection is in the CheckedItems collection.

.NET Framework
Available since 1.1
Return to top
Show: