Array.System.Collections.ICollection.Count Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets the number of elements contained in the Array.

Private ReadOnly Property Count As Integer Implements _   ICollection.Count
[C#]
int ICollection.Count {get;}
[C++]
private: __property int
   System::Collections::ICollection::get_Count();
[JScript]
private function get ICollection.Count() : int;

Property Value

The number of elements contained in the Array.

Implements

ICollection.Count

Remarks

ICollection.Count is always equal to Length.

Requirements

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

See Also

Array Class | Array Members | System Namespace | Length | GetLength