DetailsViewPageEventArgs(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.