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