GridViewUpdateEventArgs(Int32) 建構函式

定義

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

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

參數

rowIndex
Int32

要更新之資料列的索引。The index of the row being updated.

備註

使用這個函式可使用指定的資料列索引來初始化類別的新實例 GridViewUpdateEventArgsUse this constructor to initialize a new instance of the GridViewUpdateEventArgs class using the specified row index.

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

屬性Property 初始值Initial value
RowIndex 包含在參數中的值 rowIndexThe value contained in the rowIndex parameter.

注意

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

適用於

另請參閱