Share via


ListViewDeleteEventArgs.ItemIndex 屬性

定義

取得要刪除之項目的索引。

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

屬性值

要刪除之項目以零起始的索引。

備註

ItemIndex使用 屬性來判斷要刪除之專案的索引。 專案索引通常用來從 Items 控制項的 ListView 集合擷取指定的專案,這可讓您存取專案的屬性。

適用於

另請參閱