ComponentOne Menu for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / 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 System.Date, _
       ByVal end As System.Date _
    ) As AppointmentList
    public AppointmentList GetOccurrences( 
       Appointment appointment,
       System.DateTime start,
       System.DateTime end
    )

    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