ComponentOne Scheduler for WinForms
GetIntervalAppointments Method

C1.Win.C1Schedule.4 Assembly > C1.C1Schedule.Printing Namespace > DateAppointmentsCollection Class : GetIntervalAppointments Method
The System.DateTime value representing the beginning of the DateTime range.
The System.DateTime value representing the end of the DateTime range.
Specifies whether the returned list contains all appointments intercepting the specified DateTime range. If this value is False, the returned list will contain only appointments starting within the specified DateTime range.
Gets a System.Collections.Generic.List`1 containing C1.C1Schedule.Appointment objects for the specified DateTime range.
Syntax
'Declaration
 
Public Function GetIntervalAppointments( _
   ByVal start As System.Date, _
   ByVal end As System.Date, _
   ByVal includeAll As System.Boolean _
) As System.Collections.Generic.List(Of Appointment)
public System.Collections.Generic.List<Appointment> GetIntervalAppointments( 
   System.DateTime start,
   System.DateTime end,
   System.bool includeAll
)

Parameters

start
The System.DateTime value representing the beginning of the DateTime range.
end
The System.DateTime value representing the end of the DateTime range.
includeAll
Specifies whether the returned list contains all appointments intercepting the specified DateTime range. If this value is False, the returned list will contain only appointments starting within the specified DateTime range.

Return Value

The System.Collections.Generic.List`1 list containing C1.C1Schedule.Appointment objects for the specified DateTime range.
See Also

Reference

DateAppointmentsCollection Class
DateAppointmentsCollection Members