Scheduler for WPF | ComponentOne
C1.C1Schedule Namespace / AppointmentCollection Class / GetOccurrences Method / GetOccurrences(DateTime,DateTime) Method
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(DateTime,DateTime) Method
    In This Topic
    Retrieves the AppointmentList object which contains the full list of Appointment objects in the specified time interval.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetOccurrences( _
       ByVal start As Date, _
       ByVal end As Date _
    ) As AppointmentList
    public AppointmentList GetOccurrences( 
       DateTime start,
       DateTime end
    )

    Parameters

    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