DataGridViewCellCollection.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:
virtual bool Contains(System::Windows::Forms::DataGridViewCell ^ dataGridViewCell);
public virtual bool Contains(System.Windows.Forms.DataGridViewCell dataGridViewCell);
abstract member Contains : System.Windows.Forms.DataGridViewCell -> bool
override this.Contains : System.Windows.Forms.DataGridViewCell -> bool
Public Overridable Function Contains (dataGridViewCell As DataGridViewCell) As Boolean
Parametrar
- dataGridViewCell
- DataGridViewCell
A DataGridViewCell för att hitta i samlingen.
Returer
true om dataGridViewCell finns i samlingen, annars false.