Compartilhar via


DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Método

Definição

Determina se a célula especificada está contida na coleção.

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

Parâmetros

dataGridViewCell
DataGridViewCell

O DataGridViewCell a ser localizado no DataGridViewSelectedCellCollection.

Retornos

Boolean

true se dataGridViewCell estiver no DataGridViewSelectedCellCollection; caso contrário, false.

Aplica-se a

Confira também