ListViewItem.ListViewSubItemCollection.IList.Contains(Object) Method

Definition

Determines whether the specified subitem is located in the collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ item) = System::Collections::IList::Contains;
 virtual bool System.Collections.IList.Contains(System::Object ^ subItem) = System::Collections::IList::Contains;
bool IList.Contains (object item);
bool IList.Contains (object subItem);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
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
Function Contains (subItem As Object) As Boolean Implements IList.Contains

Parameters

itemsubItem
Object

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

Returns

Boolean

true if the subitem is contained in the collection; otherwise, false.

Implements

Applies to