asp.net.ph

ListItemCollection.Item Property

System.Web.UI.WebControls Namespace   ListItemCollection Class


Returns a ListItem object at the specified index in the collection.

In [ C# ], this property is the indexer for the ListItemCollection class.

[ VB ]
Public Default ReadOnly Property Item ( _
   ByVal index As Integer _
) As Item

[ C# ]
public Item this [ 
   int index
 ] {get;}

[ C++ ]
public: __property Item* get_Item (
   int index
);

[ JScript ]
returnValue=ItemCollectionObject.Item ( index );
-or-
returnValue=ItemCollectionObject ( index );

Parameters

index
The zero-based index of the ListItem to retrieve in the collection.

Property Value

The ListItem at the specified index in the collection.

Remarks

Use this indexer to get a ListItem object from the ListItemCollection at the specified index using array notation.

See Also

ListItemCollection Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note