Jazyk

DataGridViewSelectedRowCollection.Contains(DataGridViewRow) Metoda

Definice

Určuje, zda je zadaný řádek obsažen v kolekci.

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

Parametry

dataGridViewRow
DataGridViewRow

The DataGridViewRow to locate in the DataGridViewSelectedRowCollection.

Návraty

true je-li dataGridViewRow v kolekci; falsev opačném případě .

Platí pro

Viz také