CheckedListBox::CheckedItemCollection::Item Property (Int32)

 

Gets an object in the checked items collection.

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

public:
[BrowsableAttribute(false)]
property Object^ default[
	int index
] {
	virtual Object^ get(int index) sealed;
	virtual void set(int index, Object^ value) sealed;
}

Parameters

index
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
NotSupportedException

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
Show: