Compartilhar via


DataGridViewRowCollection.Contains(DataGridViewRow) Método

Definição

Determina se o DataGridViewRow especificado está na coleção.

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

Parâmetros

dataGridViewRow
DataGridViewRow

O DataGridViewRow a ser localizado no DataGridViewRowCollection.

Retornos

Boolean

true se o DataGridViewRow estiver no DataGridViewRowCollection; caso contrário, false.

Aplica-se a

Confira também