GridViewEditEventArgs(Int32) 建構函式

定義

初始化 GridViewEditEventArgs 類別的新執行個體。Initializes a new instance of the GridViewEditEventArgs class.

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

參數

newEditIndex
Int32

要編輯之資料列的索引。The index of the row to edit.

備註

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

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

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

注意

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

適用於

另請參閱