[]
        
(Showing Draft Content)

C1.Schedule.Printing.DateAppointmentsCollection.-ctor

DateAppointmentsCollection Constructor

DateAppointmentsCollection(DateTime, DateTime, AppointmentCollection)

Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.Schedule.AppointmentCollection collection.

Declaration
public DateAppointmentsCollection(DateTime start, DateTime end, AppointmentCollection appointmentCollection)
Public Sub New(start As Date, [end] As Date, appointmentCollection As AppointmentCollection)
Parameters
Type Name Description
DateTime start

The DateTime value representing the beginning of the date range.

DateTime end

The DateTime value representing the end of the date range.

AppointmentCollection appointmentCollection

The C1.Schedule.AppointmentCollection collection for getting appointments from.

DateAppointmentsCollection(DateTime, DateTime, AppointmentCollection, bool, bool)

Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.Schedule.AppointmentCollection collection.

Declaration
public DateAppointmentsCollection(DateTime start, DateTime end, AppointmentCollection appointmentCollection, bool includeEmptyDays, bool includePrivateAppointments)
Public Sub New(start As Date, [end] As Date, appointmentCollection As AppointmentCollection, includeEmptyDays As Boolean, includePrivateAppointments As Boolean)
Parameters
Type Name Description
DateTime start

The DateTime value representing the beginning of the date range.

DateTime end

The DateTime value representing the end of the date range.

AppointmentCollection appointmentCollection

The C1.Schedule.AppointmentCollection collection for getting appointments from.

bool includeEmptyDays

The bool value specifying whether to include days without appointments into collection.

bool includePrivateAppointments

The bool value specifying whether to include private appointments into collection.

DateAppointmentsCollection(DateTime, DateTime, AppointmentCollection, CalendarInfo, bool, bool, bool)

Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.Schedule.AppointmentCollection collection.

Declaration
public DateAppointmentsCollection(DateTime start, DateTime end, AppointmentCollection appointmentCollection, CalendarInfo calendarInfo, bool includeEmptyDays, bool includeWeekends, bool includePrivateAppointments)
Public Sub New(start As Date, [end] As Date, appointmentCollection As AppointmentCollection, calendarInfo As CalendarInfo, includeEmptyDays As Boolean, includeWeekends As Boolean, includePrivateAppointments As Boolean)
Parameters
Type Name Description
DateTime start

The DateTime value representing the beginning of the date range.

DateTime end

The DateTime value representing the end of the date range.

AppointmentCollection appointmentCollection

The C1.Schedule.AppointmentCollection collection for getting appointments from.

CalendarInfo calendarInfo

The C1.Schedule.CalendarInfo object containing calendar specific information.

bool includeEmptyDays

The bool value specifying whether to include days without appointments into collection.

bool includeWeekends

The bool value specifying whether to include weekend days into collection.

bool includePrivateAppointments

The bool value specifying whether to include private appointments into collection.

DateAppointmentsCollection(DateTime, DateTime, IList<Appointment>, bool)

Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.Schedule.AppointmentCollection collection.

Declaration
public DateAppointmentsCollection(DateTime start, DateTime end, IList<Appointment> appointments, bool includeEmptyDays)
Public Sub New(start As Date, [end] As Date, appointments As IList(Of Appointment), includeEmptyDays As Boolean)
Parameters
Type Name Description
DateTime start

The DateTime value representing the beginning of the date range.

DateTime end

The DateTime value representing the end of the date range.

IList<Appointment> appointments

The IList<T> list of appointments.

bool includeEmptyDays

The bool value specifying whether to include days without appointments into collection.

DateAppointmentsCollection(DateTime, DateTime, IList<Appointment>, CalendarInfo, bool, bool)

Initializes a new instance of the DateAppointmentsCollection collection for the specified date range with appointment from the specified C1.Schedule.AppointmentCollection collection.

Declaration
public DateAppointmentsCollection(DateTime start, DateTime end, IList<Appointment> appointments, CalendarInfo calendarInfo, bool includeEmptyDays, bool includeWeekends)
Public Sub New(start As Date, [end] As Date, appointments As IList(Of Appointment), calendarInfo As CalendarInfo, includeEmptyDays As Boolean, includeWeekends As Boolean)
Parameters
Type Name Description
DateTime start

The DateTime value representing the beginning of the date range.

DateTime end

The DateTime value representing the end of the date range.

IList<Appointment> appointments

The IList<T> list of appointments.

CalendarInfo calendarInfo

The C1.Schedule.CalendarInfo object containing calendar specific information.

bool includeEmptyDays

The bool value specifying whether to include days without appointments into collection.

bool includeWeekends

The bool value specifying whether to include weekend days into collection.