FormViewPageEventArgs(Int32) Constructor

Definition

Initializes a new instance of the FormViewPageEventArgs class.

public:
 FormViewPageEventArgs(int newPageIndex);
public FormViewPageEventArgs (int newPageIndex);
new System.Web.UI.WebControls.FormViewPageEventArgs : int -> System.Web.UI.WebControls.FormViewPageEventArgs
Public Sub New (newPageIndex As Integer)

Parameters

newPageIndex
Int32

The index of the new page to display.

Remarks

Use this constructor to initialize a new instance of the FormViewPageEventArgs class.

The following table shows the initial property value for an instance of FormViewPageEventArgs.

Property Initial value
NewPageIndex The value of the newPageIndex parameter.

Note

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

Applies to

See also