語言

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 值。

適用於

另請參閱