Share via


Count Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the number of elements contained in the ICollection.

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

Syntax

'Declaration
ReadOnly Property Count As Integer
int Count { get; }
property int Count {
    int get ();
}
abstract Count : int with get
function get Count () : int

Property Value

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

.NET Framework Security

See Also

Reference

ICollection Interface

System.Collections Namespace