ListView.SelectedListViewItemCollection.IList.Contains(Object) Method

Definition

Determines whether the specified item is located in the collection.

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

Parameters

item
Object

An object that represents the item to locate in the collection.

Returns

Boolean

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

Implements

Applies to