DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Metoda

Definice

Určuje, zda je zadaná buňka obsažena v kolekci.

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

Parametry

dataGridViewCell
DataGridViewCell

Umístění DataGridViewCell v souboru DataGridViewSelectedCellCollection.

Návraty

Boolean

true je-li dataGridViewCell v DataGridViewSelectedCellCollection; v opačném případě false.

Platí pro

Viz také