CheckedListBox.CheckedIndexCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得控制中已檢查項目 CheckedListBox 的索引。
public:
property int default[int] { int get(int index); };
[System.ComponentModel.Browsable(false)]
public int this[int index] { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Item(int) : int
Default Public ReadOnly Property Item(index As Integer) As Integer
參數
- index
- Int32
一個檢查過的索引集合的索引。 這個索引指定你想要檢索的已檢查項目的索引。
屬性值
被勾選項目的索引。 更多資訊請參閱課程概述中的範例 CheckedListBox.CheckedIndexCollection 。
- 屬性
例外狀況
備註
參數 index 是檢查索引集合的索引。 回傳值是對應的索引值,即項目集合中檢查項目的索引。