語言

ListView.CheckedIndexCollection.Item[Int32] 屬性

定義

在集合中指定的索引處取得索引值。

public:
 property int default[int] { int get(int index); };
public int this[int index] { get; }
member this.Item(int) : int
Default Public ReadOnly Property Item(index As Integer) As Integer

參數

index
Int32

集合中要檢索項目的索引。

屬性值

該索引值 ListView.ListViewItemCollection 儲存在指定位置。

例外狀況

參數index小於 0,或大於或等於 的Count性質值ListView.CheckedIndexCollection。

備註

這個索引器讓你能從 中取得特定的索引 ListView.CheckedIndexCollection。 集合中儲存的索引是代表 ListView.ListViewItemCollectionListView 中檢查項目 ListView的索引。

適用於