DataGridViewRowCollection::Contains Method (DataGridViewRow^)
.NET Framework (current version)
Determines whether the specified DataGridViewRow is in the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- dataGridViewRow
-
Type:
System.Windows.Forms::DataGridViewRow^
The DataGridViewRow to locate in the DataGridViewRowCollection.
Return Value
Type: System::Booleantrue if the DataGridViewRow is in the DataGridViewRowCollection; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: