ICollection.Count Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the number of elements contained in the ICollection.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

ReadOnly Property Count As Integer
int Count { get; }

Property Value

Type: System..::.Int32
The number of elements contained in the ICollection.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ICollection Interface

System.Collections Namespace