CheckedListBox.CheckedItemCollection.Item[Int32] Property

Definition

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

Parameters

index
Int32

An index into the collection of checked items. This collection index corresponds to the index of the checked item.

Property Value

The object at the specified index. For more information, see the examples in the CheckedListBox.CheckedItemCollection class overview.

Implements

Attributes

Exceptions

The object cannot be set.

Remarks

The 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.

Applies to

See also