CheckedListBox.CheckedItemCollection.Item Property (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets an object in the checked items collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public object this[
	int index
] { get; set; }


Type: System.Int32

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

Property Value

Type: System.Object

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

Exception Condition

The object cannot be set.

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.

.NET Framework
Available since 1.1
Return to top