DataGridViewRowsRemovedEventArgs Constructor (Int32, Int32)
.NET Framework (current version)
Initializes a new instance of the DataGridViewRowsRemovedEventArgs class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- rowIndex
-
Type:
System::Int32
The zero-based index of the row that was deleted, or the first deleted row if multiple rows were deleted.
- rowCount
-
Type:
System::Int32
The number of rows that were deleted.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | rowIndex is less than 0. -or- rowCount is less than 1. |
.NET Framework
Available since 2.0
Available since 2.0
Show: