This documentation is archived and is not being maintained.
DataKeyCollection.Count Property
.NET Framework 1.1
Gets the number of items 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 items in the collection.
Implements
Remarks
Use the Count property to determine the number of items in the collection. This property is commonly used when iterating through the collection to determine the upper bound.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
DataKeyCollection Class | DataKeyCollection Members | System.Web.UI.WebControls Namespace
Show: