Retrieves the AppointmentList object which contains the list of occurrences of the specified master appointment 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(
	Appointment appointment,
	DateTime start,
	DateTime end
)
Visual Basic
Public Function GetOccurrences ( _
	appointment As Appointment, _
	start As DateTime, _
	end As DateTime _
) As AppointmentList

Parameters

appointment
Type: C1.C1Schedule..::..Appointment
The Appointment object representing the master appointment.
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