ListViewItem.DataItemIndex 属性

定义

获取绑定到 ListViewItem 控件的数据项的索引。Gets the index of the data item that is bound to the ListViewItem control.

public:
 virtual property int DataItemIndex { int get(); };
public virtual int DataItemIndex { get; }
member this.DataItemIndex : int
Public Overridable ReadOnly Property DataItemIndex As Integer

属性值

Int32

绑定到 ListViewItem 控件的数据项的索引。The index of the data item that is bound to the ListViewItem control.

实现

适用于