Język

ArrangedElementCollection.IList.Contains(Object) Metoda

Definicja

Aby uzyskać opis tego elementu członkowskiego, zobacz metodę Contains(Object) .

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

Parametry

value
Object

Element Object do zlokalizowania w obiekcie IList.

Zwraca

true jeśli element Object znajduje się w obiekcie ; w IListprzeciwnym razie false.

Implementuje

Uwagi

Ta metoda jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy ArrangedElementCollection wystąpienie jest rzutowanie do interfejsu IList .

Dotyczy