Type | Description | |||
Index as Variant | A Long expression that specifies the index of the property to be requested, or a String expression that specifies the name of the property to be requested | |||
Property | A Property being requested. |
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