ListViewItem.ListViewSubItemCollection.IList.Contains(Object) Methode

Definitie

Bepaalt of de opgegeven subitem zich in de verzameling bevindt.

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

Parameters

subItemitem
Object

Een object dat het subitem vertegenwoordigt dat in de verzameling moet worden gevonden.

Retouren

true als het subitem is opgenomen in de verzameling; anders, false.

Implementeringen

Van toepassing op