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 未満であるか、CountListView.CheckedIndexCollection プロパティの値以上です。

注釈

このインデクサーを使用すると、 ListView.CheckedIndexCollectionから特定のインデックスを取得できます。 コレクションに格納されているインデックスは、ListView.ListViewItemCollectionのチェック 項目を表すListViewListViewへのインデックスです。

適用対象