ComponentOne TreeView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.C1Schedule 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 System.String, _
       ByVal start As System.Date, _
       ByVal end As System.Date, _
       ByVal includePrivateAppointments As System.Boolean _
    ) As AppointmentList
    public AppointmentList GetOccurrences( 
       BaseObject groupOwner,
       System.string groupBy,
       System.DateTime start,
       System.DateTime end,
       System.bool includePrivateAppointments
    )

    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