May 1995
Beginner
508 pages
16h 14m
English
Dictionary.Count Property
Long
A read-only property that returns the number of key/item pairs in a Dictionary object.
Unlike a Collection object, the Dictionary object is always zero-based.
The following code fragment shows how you can use the Count property along with the Dictionary object’s Items property:
Dim vArray vArray = DictObj.Items For i = 0 to DictObj.Count -1 Set oObj = vArray(i) Next
Read now
Unlock full access