ListView.ListViewItemCollection.IList.Contains(Object) Metoda

Definicja

Określa, czy określony element znajduje się w kolekcji.

 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

Parametry

item
Object

Obiekt reprezentujący element do zlokalizowania w kolekcji.

Zwraca

Boolean

true jeśli określony element znajduje się w kolekcji; w przeciwnym razie , false.

Implementuje

Dotyczy