asp.net.ph

ListItemCollection.Count Property

System.Web.UI.WebControls Namespace   ListItemCollection Class


Returns the number of items in the collection.

Syntax


Script [ integer variable = ] ListItemCollection.Count

Property Value


variable Integer specifying the number of ListItem objects in the collection.

The property is read only with no default value.

Remarks

Use the Count property to determine the total number of ListItem objects currently stored in the ListItemCollection. The Count property is commonly used when iterating through the collection to determine the upper bound of the collection.

See Also

ListItemCollection Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph