CheckedListBox.CheckedItemCollection.Item[Int32] 屬性

定義

取得已選取項目集合中的物件。Gets an object in the checked items collection.

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; }
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object

參數

index
Int32

已選取項目集合內的索引。An index into the collection of checked items. 這個集合索引對應已選取項目的索引。This collection index corresponds to the index of the checked item.

屬性值

位於指定索引處的物件。The object at the specified index. 如需詳細資訊,請參閱 CheckedListBox.CheckedItemCollection 類別概觀中的範例。For more information, see the examples in the CheckedListBox.CheckedItemCollection class overview.

實作

屬性

例外狀況

物件無法設定。The object cannot be set.

備註

集合是Items集合中的物件子集, 只表示已核取的專案。 CheckedItemsThe CheckedItems collection is a subset of the objects in the Items collection, representing only items that are checked. 這個集合是以遞增順序排序。This collection is ordered in ascending order.

適用於

另請參閱