Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / C1.C1Schedule.Printing Namespace / DateAppointmentsCollection Class / DateAppointmentsCollection Constructor / DateAppointmentsCollection Constructor(DateTime,DateTime,AppointmentCollection,CalendarInfo,Boolean,Boolean,Boolean)
The System.DateTime value representing the beginning of the date range.
The System.DateTime value representing the end of the date range.
The C1.C1Schedule.AppointmentCollection collection for getting appointments from.
The C1.C1Schedule.CalendarInfo object containing calendar specific information.
The System.Boolean value specifying whether to include days without appointments into collection.
The System.Boolean value specifying whether to include weekend days into collection.
The System.Boolean value specifying whether to include private appointments into collection.

In This Topic
    DateAppointmentsCollection Constructor(DateTime,DateTime,AppointmentCollection,CalendarInfo,Boolean,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.C1Schedule.AppointmentCollection collection.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal start As System.Date, _
       ByVal end As System.Date, _
       ByVal appointmentCollection As AppointmentCollection, _
       ByVal calendarInfo As CalendarInfo, _
       ByVal includeEmptyDays As System.Boolean, _
       ByVal includeWeekends As System.Boolean, _
       ByVal includePrivateAppointments As System.Boolean _
    )
    public DateAppointmentsCollection( 
       System.DateTime start,
       System.DateTime end,
       AppointmentCollection appointmentCollection,
       CalendarInfo calendarInfo,
       System.bool includeEmptyDays,
       System.bool includeWeekends,
       System.bool includePrivateAppointments
    )

    Parameters

    start
    The System.DateTime value representing the beginning of the date range.
    end
    The System.DateTime value representing the end of the date range.
    appointmentCollection
    The C1.C1Schedule.AppointmentCollection collection for getting appointments from.
    calendarInfo
    The C1.C1Schedule.CalendarInfo object containing calendar specific information.
    includeEmptyDays
    The System.Boolean value specifying whether to include days without appointments into collection.
    includeWeekends
    The System.Boolean value specifying whether to include weekend days into collection.
    includePrivateAppointments
    The System.Boolean value specifying whether to include private appointments into collection.
    See Also