DataGridViewSelectedCellCollection.Contains(DataGridViewCell) DataGridViewSelectedCellCollection.Contains(DataGridViewCell) DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Method

Definition

Determines whether the specified cell is contained in the collection.

public:
 bool Contains(System::Windows::Forms::DataGridViewCell ^ dataGridViewCell);
public bool Contains (System.Windows.Forms.DataGridViewCell dataGridViewCell);
member this.Contains : System.Windows.Forms.DataGridViewCell -> bool

Parameters

Returns

true if dataGridViewCell is in the DataGridViewSelectedCellCollection; otherwise, false.

Applies to

See also