Microsoft DirectX 8.1 (C++)

ScheduleEntries.AddNew

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

The AddNew property creates a new ScheduleEntry object and adds it to the collection.

Syntax

objScheduleEntries.AddNew(dtStart As Date,
  dtEnd As Date,
  pservice As Service,
  pprog As Program) As ScheduleEntry

Parameters

dtStart

[in]  Specifies the start time.

dtEnd

[in]  Specifies the end time.

pservice

[in]  Specifies the Service object associated with this entry.

pprog

[in]  Specifies a Program object for this entry.

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 ScheduleEntry object.

Remarks

This method is valid only for collections retrieved by using GuideStore.ScheduleEntries.

See Also