DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Metod

Definition

Avgör om den angivna cellen finns i samlingen.

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

Parametrar

Returer

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

Gäller för

Se även