ImageList.ImageCollection.IList.Contains(Object) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Implementerar Contains(Object) metoden. Kastar en NotSupportedException i alla fall.
Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.
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
Parametrar
- imagevalue
- Object
Avbildningen som ska hittas ImageList.ImageCollectioni .
Returer
true
Object om hittas i IList, annars , false.
Implementeringar
Undantag
I samtliga fall.