System.Web.UI.WebControls.DataListItemCollection.Count Property

Gets the number of System.Web.UI.WebControls.DataListItem objects in the collection.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DataListItemCollection.Count property to determine the number of System.Web.UI.WebControls.DataListItem objects in the System.Web.UI.WebControls.DataListItemCollection collection. The DataListItemCollection.Count property is commonly used when iterating through the collection to determine the upper bound of the collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0