Editar

Partilhar via


DataGridViewRowCollection.Contains(DataGridViewRow) Method

Definition

Determines whether the specified DataGridViewRow is in the collection.

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

Parameters

dataGridViewRow
DataGridViewRow

The DataGridViewRow to locate in the DataGridViewRowCollection.

Returns

true if the DataGridViewRow is in the DataGridViewRowCollection; otherwise, false.

Applies to

See also