Scheduler for WPF | ComponentOne
C1.Schedule Namespace / AppointmentCollection Class / GetOccurrences Method / GetOccurrences(BaseObject,String,DateTime,DateTime,Boolean) Method
The BaseObject object determining the appointment group.
The System.String value determining the type of grouping.
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.
The System.Boolean value determining whether to include private appointments.

In This Topic
    GetOccurrences(BaseObject,String,DateTime,DateTime,Boolean) 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 groupOwner As BaseObject, _
       ByVal groupBy As String, _
       ByVal start As Date, _
       ByVal end As Date, _
       ByVal includePrivateAppointments As Boolean _
    ) As AppointmentList

    Parameters

    groupOwner
    The BaseObject object determining the appointment group.
    groupBy
    The System.String value determining the type of grouping.
    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.
    includePrivateAppointments
    The System.Boolean value determining whether to include private appointments.

    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