ImageList.ImageCollection.IList.Contains(Object) Methode

Definition

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

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.ImageCollectionDatei gefunden werden soll.

Gibt zurück

truewenn dies in der ObjectIList; andernfalls gefunden wird. false

Implementiert

Ausnahmen

In allen Fällen.

Gilt für: