VisualCollection::Count Property
.NET Framework (current version)
Gets the number of elements in the collection.
Assembly: PresentationCore (in PresentationCore.dll)
Implements
ICollection::CountCount is the number of elements that are actually in the VisualCollection. Capacity is the number of elements that the VisualCollection is capable of storing.
Count is always less than or equal to Capacity. If Count exceeds Capacity while adding elements, the capacity of the list is doubled by automatically reallocating the internal array before copying the old elements and adding the new elements.
.NET Framework
Available since 3.0
Available since 3.0
Show: