ImageList.ImageCollection.IList.Contains(Object) Metoda

Definice

Implementuje metodu Contains(Object) . Ve všech případech vyvolá chybu NotSupportedException .

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

 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

Obrázek, který se má najít v souboru ImageList.ImageCollection.

Návraty

truepokud je Object hodnota nalezena v ; IListv opačném případě . false

Implementuje

Výjimky

Ve všech případech

Platí pro