CheckedListBox::CheckedItemCollection::Item Property (Int32)
.NET Framework (current version)
Gets an object in the checked items collection.
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.
Implements
IList::Item[Int32]| 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
Available since 1.1
Show: