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

Namespace:  C1.C1Schedule.Printing
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public DateAppointmentsCollection(
	DateTime start,
	DateTime end,
	AppointmentCollection appointmentCollection,
	CalendarInfo calendarInfo,
	bool includeEmptyDays,
	bool includeWeekends,
	bool includePrivateAppointments
)
Visual Basic (Declaration)
Public Sub New ( _
	start As DateTime, _
	end As DateTime, _
	appointmentCollection As AppointmentCollection, _
	calendarInfo As CalendarInfo, _
	includeEmptyDays As Boolean, _
	includeWeekends As Boolean, _
	includePrivateAppointments As Boolean _
)

Parameters

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

See Also