ICollection.Count Property

DependencyObjectCollection<T>.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 objects in the collection.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

int ICollection.Count { get; }

Property Value

Type: System.Int32
The number of objects in the collection.

Implements

ICollection.Count

This member is an explicit interface member implementation. It can be used only when the DependencyObjectCollection<T> instance is cast to an ICollection interface.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2018 Microsoft