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

コレクション内の取得する項目のインデックス。

プロパティ値

Int32

指定した位置に格納されている、ListView.ListViewItemCollection のインデックス値。

例外

index パラメーターが 0 未満か、CountListView.CheckedIndexCollection プロパティの値以上です。

注釈

このインデクサーを使用すると、.ListView.CheckedIndexCollection コレクションに格納されているインデックスは、 ListView.ListViewItemCollection 内のチェックされた項目を ListView 表すインデックスのインデックス ListViewです。

適用対象