Version

GetAppointmentsInRange(DateTime,DateTime,Boolean) Method

Returns a collection of Appointment objects that have any part of the appointment in the specified date range.
Syntax
'Declaration
 
Public Overloads Function GetAppointmentsInRange( _
   ByVal startDateTime As Date, _
   ByVal endDateTime As Date, _
   ByVal includeNonVisibleOwners As Boolean _
) As AppointmentsSubsetCollection

Parameters

startDateTime
Earliest start time for an appointment.
endDateTime
Latest end time for an appointment.
includeNonVisibleOwners
Determines if appointments associated with owners whose Visible property is false will be included.

Return Value

An AppointmentsSubsetCollection containing all the Appointment objects that overlap with the startDateTime and endDateTime.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also