DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Methode

Definition

Bestimmt, ob die angegebene Zelle in der Auflistung enthalten ist.

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

Parameter

dataGridViewCell
DataGridViewCell

Der DataGridViewCell zu findende In der DataGridViewSelectedCellCollection.

Gibt zurück

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

Gilt für:

Weitere Informationen