Type | Description | |||
Long | A Long expression that specifies the number of properties in the collection. |
The following code enumerates the properties of the root component:
Dim c As Variant For Each c In ICalendar1.Root.Properties Debug.Print "Name " & c.Name Next
and it's equivalent with the following snippet:
Dim i As Long With ICalendar1.Root.Properties For i = 0 To .Count - 1 Debug.Print .Item(i).Name Next End With