Dictionary.Count Property (VB6) |
dictionaryobject.Count
dictionaryobject
Use: Required
Data Type: Dictionary object
A reference to a Dictionary object.
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 0-based.
The following code fragment shows how you can use the Count property:
Dim vArray As Variant vArray = DictObj.Items For i = 0 to DictObj.Count -1 Set oObj = vArray(i) Next