Udostępnij za pośrednictwem


DataGridViewRowsRemovedEventArgs(Int32, Int32) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy DataGridViewRowsRemovedEventArgs.

public:
 DataGridViewRowsRemovedEventArgs(int rowIndex, int rowCount);
public DataGridViewRowsRemovedEventArgs (int rowIndex, int rowCount);
new System.Windows.Forms.DataGridViewRowsRemovedEventArgs : int * int -> System.Windows.Forms.DataGridViewRowsRemovedEventArgs
Public Sub New (rowIndex As Integer, rowCount As Integer)

Parametry

rowIndex
Int32

Indeks zerowy usuniętego wiersza lub pierwszy usunięty wiersz, jeśli wiele wierszy zostało usuniętych.

rowCount
Int32

Liczba usuniętych wierszy.

Wyjątki

rowIndex wartość jest mniejsza niż 0.

-lub- rowCount wartość jest mniejsza niż 1.

Dotyczy

Zobacz też