ListView.CheckedIndexCollection.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取集合中指定索引处的索引值。
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.ListViewItemCollection索引是表示选中项的索引ListView。ListView