3.89 TimeBlocks

A collection of TimeBlock objects.

3.89.1 Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Application

R/O

Application. The Application object.

Count

R/O

Long. The number of objects in this collection.

_NewEnum

R/O

Enumeration object. Implements IEnumVARIANT. For Windows only.

Parent

R/O

BusySearchElement. The BusySearchElement object that own this collection.

3.89.2 Methods

TimeBlock Item(Long Index)

DEFAULT. Returns the TimeBlock object located at the given Index in the collection. Valid indexes are 1 through Count inclusive. Throws an exception if the Index is outside of this range.

3.89.3 Remarks

If the first element in the collection is a Free TimeBlock, its start time will be identical to the Start Time shown in Preferences. However, the time fields associated with a non-Free TimeBlock always indicate the actual Start and End times of the associated appointment.

A TimeBlocks collection object is refreshed when its parent object is refreshed. When a TimeBlocks collection is refreshed, it recursively refreshes its contained TimeBlock objects.