ImageList.ImageCollection.IList.Contains(Object) Methode

Definition

Implementiert die Contains(Object)-Methode. Löst in allen Fällen eine NotSupportedException aus.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

 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

Parameter

imagevalue
Object

Das Bild, das in der ImageList.ImageCollection gesucht werden soll.

Gibt zurück

true, wenn Object in der IList gefunden wird, andernfalls false.

Implementiert

Ausnahmen

In allen Fällen.

Gilt für: