Microsoft DirectX 8.1 (C++)

ScheduleEntries.ItemsInTimeRange

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The ItemsInTimeRange property retrieves a collection of ScheduleEntry objects whose start or end times occur within the specified range.

Syntax

objScheduleEntries.ItemsInTimeRange(dtStart As Date,
  dtEnd As Date) As ScheduleEntries

Parameters

dtStart

[in]  Specifies the start time of the range.

dtEnd

[in]  Specifies the end time of the range.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This property returns a ScheduleEntries object.

Remarks

Items must overlap the specified range. For example, if the end time of an object is exactly the same as dtStart, the object is not included in the retrieved collection.

See Also