Redigera

Dela via


DetailsViewPageEventArgs(Int32) Constructor

Definition

Initializes a new instance of the DetailsViewPageEventArgs class.

public:
 DetailsViewPageEventArgs(int newPageIndex);
public DetailsViewPageEventArgs (int newPageIndex);
new System.Web.UI.WebControls.DetailsViewPageEventArgs : int -> System.Web.UI.WebControls.DetailsViewPageEventArgs
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 DetailsViewPageEventArgs class.

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

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