DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si la cellule spécifiée est contenue dans la collection.
public:
bool Contains(System::Windows::Forms::DataGridViewCell ^ dataGridViewCell);
public bool Contains(System.Windows.Forms.DataGridViewCell dataGridViewCell);
member this.Contains : System.Windows.Forms.DataGridViewCell -> bool
Public Function Contains (dataGridViewCell As DataGridViewCell) As Boolean
Paramètres
- dataGridViewCell
- DataGridViewCell
À DataGridViewCell localiser dans le DataGridViewSelectedCellCollection.
Retours
true si dataGridViewCell se trouve dans le DataGridViewSelectedCellCollection; sinon, false.