Scheduler for WPF | ComponentOne
C1.C1Schedule.Printing Namespace / DateAppointmentsCollection Class / DateAppointmentsCollection Constructor / DateAppointmentsCollection Constructor(DateTime,DateTime,IList<Appointment>,CalendarInfo,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 IList list of appointments.
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.

In This Topic
    DateAppointmentsCollection Constructor(DateTime,DateTime,IList<Appointment>,CalendarInfo,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 Date, _
       ByVal end As Date, _
       ByVal appointments As IList(Of Appointment), _
       ByVal calendarInfo As CalendarInfo, _
       ByVal includeEmptyDays As Boolean, _
       ByVal includeWeekends As Boolean _
    )

    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.
    appointments
    The IList list of appointments.
    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.
    See Also