DataGridViewRowsRemovedEventArgs Constructor (Int32, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: