ImageList.ImageCollection.IList.Contains(Object) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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.