Retrieves the AppointmentList object which contains the full list of Appointment objects in the specified time interval.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public AppointmentList GetOccurrences(
	DateTime start,
	DateTime end
)
Visual Basic
Public Function GetOccurrences ( _
	start As DateTime, _
	end As DateTime _
) As AppointmentList

Parameters

start
Type: System..::..DateTime
The DateTime value which specifies the start date and time of the interval.
end
Type: System..::..DateTime
The DateTime value which specifies the end date and time of the interval.

Return Value

The AppointmentList object.

Remarks

This method will create instances of the Appointment object for recurring appointments if they haven't been created yet.

See Also