Export (0) Print
Expand All

CheckedListBox.CheckedItemCollection.Item Property

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; }
/** @property */
public final Object get_Item (int index)

/** @property */
public final void set_Item (int index, Object value)

Not applicable.

Parameters

index

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.

Exception typeCondition

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft