Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft