This documentation is archived and is not being maintained.
DataListItemCollection.Count Property
.NET Framework 1.1
Gets the number of DataListItem objects in the collection.
[Visual Basic] Public Overridable ReadOnly Property Count As Integer Implements _ ICollection.Count [C#] public virtual int Count {get;} [C++] public: __property virtual int get_Count(); [JScript] public function get Count() : int;
Property Value
The number of DataListItem objects in the collection.
Implements
Remarks
Use the Count property to determine the number of DataListItem objects in the DataListItemCollection collection. The Count property is commonly used when iterating through the collection to determine the upper bound of the collection.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
DataListItemCollection Class | DataListItemCollection Members | System.Web.UI.WebControls Namespace | DataListItem
Show: