Scheduler for WinRT
GetOccurrences(Appointment,DateTime,DateTime) Method


The Appointment object representing the master appointment.
The System.DateTime value which specifies the start date and time of the interval.
The System.DateTime value which specifies the end date and time of the interval.
Retrieves the AppointmentList object which contains the list of occurrences of the specified master appointment in the specified time interval.
Syntax
'Declaration
 
Public Overloads Function GetOccurrences( _
   ByVal appointment As Appointment, _
   ByVal start As Date, _
   ByVal end As Date _
) As AppointmentList
'Usage
 
Dim instance As AppointmentCollection
Dim appointment As Appointment
Dim start As Date
Dim end As Date
Dim value As AppointmentList
 
value = instance.GetOccurrences(appointment, start, end)

Parameters

appointment
The Appointment object representing the master appointment.
start
The System.DateTime value which specifies the start date and time of the interval.
end
The System.DateTime value which specifies the end date and time of the interval.

Return Value

The AppointmentList object.
Remarks
This method will create instances of the Appointment object for recurring appointments if they haven't been created yet.
Requirements

Target Platforms: 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

Reference

AppointmentCollection Class
AppointmentCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.