DataGridViewSelectedColumnCollection.Contains(DataGridViewColumn) Metoda

Definice

Určuje, zda je zadaný sloupec obsažen v kolekci.

public:
 bool Contains(System::Windows::Forms::DataGridViewColumn ^ dataGridViewColumn);
public bool Contains (System.Windows.Forms.DataGridViewColumn dataGridViewColumn);
member this.Contains : System.Windows.Forms.DataGridViewColumn -> bool
Public Function Contains (dataGridViewColumn As DataGridViewColumn) As Boolean

Parametry

dataGridViewColumn
DataGridViewColumn

A DataGridViewColumn , která se má najít v DataGridViewSelectedColumnCollection.

Návraty

true pokud je dataGridViewColumn parametr v kolekci, jinak hodnota false.

Platí pro

Viz také