DataGridViewColumnCollection.IList.Contains(Object) Méthode

Définition

Détermine si un objet est dans la collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
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
Function Contains (value As Object) As Boolean Implements IList.Contains

Paramètres

value
Object

Object à rechercher dans la collection. La valeur peut être null.

Retours

true si value existe dans DataGridViewColumnCollection ; sinon, false.

Implémente

Exceptions

value a la valeur null.

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de DataGridViewColumnCollection est castée en interface IList.

S’applique à

Voir aussi