FormViewPageEventArgs(Int32) 建構函式

定義

初始化 FormViewPageEventArgs 類別的新執行個體。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)

參數

newPageIndex
Int32

要顯示的新頁面索引。The index of the new page to display.

備註

您可以使用這個函式來初始化類別的新實例 FormViewPageEventArgsUse this constructor to initialize a new instance of the FormViewPageEventArgs class.

下表顯示實例的初始屬性值 FormViewPageEventArgsThe following table shows the initial property value for an instance of FormViewPageEventArgs.

屬性Property 初始值Initial value
NewPageIndex newPageIndex 參數的值。The value of the newPageIndex parameter.

注意

在引發事件時,主要由控制項開發人員使用。This constructor is used primarily by control developers when raising events.

適用於

另請參閱