DataGridViewRowsRemovedEventArgs Constructor

DataGridViewRowsRemovedEventArgs Constructor (Int32, Int32)

 

Initializes a new instance of the DataGridViewRowsRemovedEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public DataGridViewRowsRemovedEventArgs(
	int rowIndex,
	int rowCount
)

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
Return to top
Show:
© 2016 Microsoft