Scheduler for WPF | ComponentOne
C1.C1Schedule Namespace / AppointmentCollection Class / GetOccurrences Method / GetOccurrences(Appointment,DateTime,DateTime) Method
The Appointment object representing the master appointment.
The System.DateTime value which specifies the start date and time of the interval.
The System.DateTime value which specifies the end date and time of the interval.

In This Topic
    GetOccurrences(Appointment,DateTime,DateTime) Method
    In This Topic
    Retrieves the AppointmentList object which contains the list of occurrences of the specified master appointment in the specified time interval.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetOccurrences( _
       ByVal appointment As Appointment, _
       ByVal start As Date, _
       ByVal end As Date _
    ) As AppointmentList

    Parameters

    appointment
    The Appointment object representing the master appointment.
    start
    The System.DateTime value which specifies the start date and time of the interval.
    end
    The System.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