property Properties.Enumerate (Mask as String) as Variant
Enumerates the properties in the collection whose name matches the giving mask.

TypeDescription
Mask as String A String expression that specifies the mask of the properties to be requested. 

The Mask parameter can include:

  • '?' for any single character
  • '*' for zero or more occurrences of any character
  • '#' for any digit character
Variant A safe array of Property objects whose name matches the giving mask.
Use the Enumerate property to enumerate the properties giving a mask. The Item / Count properties can be used to enumerate the Properties collection as well as for each statement. 

The following code enumerates the Properties of the root component, that starts with Ve:

Dim c As Variant
For Each c In ICalendar1.Root.Properties.Enumerate("Ve*")
    Debug.Print "Name " & c.Name
Next