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

适用于

另请参阅