property PropertiesList.Count as Long
Counts the properties in the control.

TypeDescription
Long A long expression that indicates the number of items in the control.
The Count property counts the items in the control. The Count property counts the items that are on the control at one time. For instance, if you have parent items, the children items are counted as well. Use the Item property to access a Property object giving its index.

The following sample enumerates the properties in the control:

With PropertiesList1
    Dim i As Long
    For i = 0 To .Count - 1
        Debug.Print .Item(i).Name
    Next
End With

The following sample enumerates the properties in the control using the for each statement:

Dim p As EXPROPERTIESLISTLibCtl.Property
For Each p In PropertiesList1
    Debug.Print p.Name
Next