Collection.ICollection.Count Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the number of items in this collection. Implements the ICollection interface.

Namespace:  Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Private ReadOnly Property ICollectionCount As Integer
    Implements ICollection.Count
int ICollection.Count { get; }

Property Value

Type: System.Int32
The number of items in this collection.

Implements

ICollection.Count

Remarks

This property returns the number of items in this collection.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.