Bewerken

Delen via


CheckedListBox.CheckedItemCollection.Contains(Object) Method

Definition

Determines whether the specified item is located in the collection.

public:
 virtual bool Contains(System::Object ^ item);
public bool Contains (object item);
public bool Contains (object? item);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (item As Object) As Boolean

Parameters

item
Object

An object from the items collection.

Returns

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

Implements

Remarks

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

Applies to