DetailsViewRow.RowIndex 属性
定义
获取 DetailsViewRow 控件的 Rows 集合中的 DetailsView 对象的索引。Gets the index of the DetailsViewRow object in the Rows collection of the DetailsView control.
public:
virtual property int RowIndex { int get(); };
public virtual int RowIndex { get; }
member this.RowIndex : int
Public Overridable ReadOnly Property RowIndex As Integer
属性值
DetailsViewRow 控件的 Rows 集合中的 DetailsView 的索引。The index of the DetailsViewRow in the Rows collection of the DetailsView control.
注解
使用 RowIndex 属性可确定 DetailsViewRow 控件的集合中的对象的索引 Rows DetailsView 。Use the RowIndex property to determine the index of a DetailsViewRow object in the Rows collection of the DetailsView control.
备注
此属性仅适用于数据行。This property applies only to data rows.