DetailsViewRow(Int32, DataControlRowType, DataControlRowState) 建構函式

定義

初始化 DetailsViewRow 類別的新執行個體。

public:
 DetailsViewRow(int rowIndex, System::Web::UI::WebControls::DataControlRowType rowType, System::Web::UI::WebControls::DataControlRowState rowState);
public DetailsViewRow (int rowIndex, System.Web.UI.WebControls.DataControlRowType rowType, System.Web.UI.WebControls.DataControlRowState rowState);
new System.Web.UI.WebControls.DetailsViewRow : int * System.Web.UI.WebControls.DataControlRowType * System.Web.UI.WebControls.DataControlRowState -> System.Web.UI.WebControls.DetailsViewRow
Public Sub New (rowIndex As Integer, rowType As DataControlRowType, rowState As DataControlRowState)

參數

rowIndex
Int32

Rows 控制項之 DetailsView 集合中的資料列索引。

rowType
DataControlRowType

其中一個 DataControlRowType 列舉值。

rowState
DataControlRowState

其中一個 DataControlRowState 列舉值。

備註

使用此建構函式來初始化 類別的新實例 DetailsViewRow

下表所顯示的是 DetailsViewRow 類別之執行個體的初始屬性值。

屬性 初始值
RowIndex 參數所 itemIndex 指定的值。
RowType 參數所 rowType 指定的值。
RowState 參數所 rowState 指定的值。

適用於

另請參閱