Version

Item Property (CheckedValueListItemsCollection)

Returns the item at the specified ordinal position within this collection.
Overload List
OverloadDescription
Item(Int32)Returns the item at the specified ordinal position within this collection.  
Item(Object)Returns the ValueListItem whose DataValue is equal to the specified dataValue, or null if no item's value matches.  
Remarks

The elements of this collection can be indexed by their associated DataValue. If that value is of type integer, however, the integer must be boxed into a variable of type object in order to access that indexer overload; passing an integer directly will cause execution to route through this overload, and the parameter value will be interpreted as an index within this collection, not a data value.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also