ImageList.ImageCollection.IList.Contains(Object) Metoda

Definicja

Implementuje metodę Contains(Object) . Zgłasza wartość NotSupportedException we wszystkich przypadkach.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

imagevalue
Object

Obraz do zlokalizowania w obiekcie ImageList.ImageCollection.

Zwraca

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

Implementuje

Wyjątki

We wszystkich przypadkach.

Dotyczy