Rediger

Del via


PageEventArgs(Int32, Int32, Int32) Constructor

Definition

Initializes a new instance of the PageEventArgs class.

public:
 PageEventArgs(int startRowIndex, int maximumRows, int totalRowCount);
public PageEventArgs (int startRowIndex, int maximumRows, int totalRowCount);
new System.Web.UI.WebControls.PageEventArgs : int * int * int -> System.Web.UI.WebControls.PageEventArgs
Public Sub New (startRowIndex As Integer, maximumRows As Integer, totalRowCount As Integer)

Parameters

startRowIndex
Int32

The index of the first record on a page of data.

maximumRows
Int32

The maximum number of items to display on each page of data.

totalRowCount
Int32

The total number of records.

Remarks

You can use this constructor to initialize a new instance of the PageEventArgs class.

Note

This constructor is primarily used by control developers when raising events.

The following table shows initial property values for an instance of the PageEventArgs class.

Property Initial Value
StartRowIndex The value of the startRowIndex parameter.
MaximumRows The value of the maximumRows parameter.
TotalRowCount The value of the totalRowCount parameter.

Applies to

See also