Export (0) Print
Expand All

ICollection.Count Property

When implemented by a class, gets the number of elements contained in the ICollection.

[Visual Basic]
ReadOnly Property Count As Integer
[C#]
int Count {get;}
[C++]
__property int get_Count();
[JScript]
function get Count() : int;

Property Value

The number of elements contained in the ICollection.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ICollection Interface | ICollection Members | System.Collections Namespace

Show:
© 2014 Microsoft