CheckedListBox.CheckedItemCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得已檢查物品集合中的一個物件。
public:
property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
[System.ComponentModel.Browsable(false)]
public object this[int index] { get; set; }
[System.ComponentModel.Browsable(false)]
public object? this[int index] { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object
參數
- index
- Int32
一個檢查項目集合的索引。 此集合索引對應於檢查項目的索引。
屬性值
指定索引的物件。 更多資訊請參閱課程概述中的範例 CheckedListBox.CheckedItemCollection 。
實作
- 屬性
例外狀況
物件無法被設定。
備註
集合 CheckedItems 是集合中 Items 物件的子集,僅代表被檢查的項目。 本集合依升序排列。