DataGridViewSelectedCellCollection.Contains(DataGridViewCell) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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
- dataGridViewCell
- DataGridViewCell
För DataGridViewCell att hitta i DataGridViewSelectedCellCollection.
Returer
true if dataGridViewCell is in the DataGridViewSelectedCellCollection;wise, false.