Stack: Count (get) |
Gets the number of elements contained in the Stack.
Public Property Get Count ( ) As Long
The capacity is the number of elements that the Stack can store. Count is the number of elements that are actually in the Stack.
The capacity is always greater than or equal to Count. If Count exceeds the capacity while adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.
Read Only.