語言

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

定義

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

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

參數

itemIndex
Int32

資料來源中資料項目的索引。

rowType
DataControlRowType

其中一個 DataControlRowType 列舉值。

rowState
DataControlRowState

其中一個 DataControlRowState 列舉值。

備註

使用此建構子初始化該類別的新實例 FormViewRow 。

下表顯示該 FormViewRow 類別實例的初始屬性值。

房產 初始值
ItemIndex 由參數指定的 itemIndex 值。
RowType 由參數指定的 rowType 值。
RowState 由參數指定的 rowState 值。

適用於

另請參閱