แก้ไข

แชร์ผ่าน


ListViewDataItem.DataItemIndex Property

Definition

Gets the index of the DataItem in the underlying data source object.

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

Property Value

The zero-based index of the DataItem in the underlying data source object.

Implements

Remarks

Use the DataItemIndex property to determine the index of the DataItem in the underlying data source object.

Applies to

See also