IncludeRecurrences Property

See Also         Example         Applies To

True if the Items collection should include recurrence patterns. This property only has an effect if the Items collection contains appointments and is not sorted by any property other than Start in ascending order. The default value is False.

Read/write Boolean.

Syntax

objItems.IncludeRecurrences

objItems    Required. An expression that returns an Items collection object.

Remarks

Use this property when you want to retrieve all appointments for a given date, where recurring appointments would not normally appear because they are not associated with any specific date. If the collection includes recurring appointments with no end date, setting the property to True may cause the collection to be of infinite count. Be sure to include a test for this in any loop.