Retrieves the current AppointmentRecurrence for an Appointment.
| C# | Visual Basic |
public AppointmentRecurrence RecurrencePattern { get; }
Public ReadOnly Property RecurrencePattern As AppointmentRecurrence Get
The current AppointmentRecurrence for an Appointment.
Use this property to create a recurring Appointment or determine the recurrence pattern of an existing recurring Appointment.
Equivalent to the GetRecurrencePattern() method in POOM.
Creating a Recurring Appointment
CopyVB.NET
Imports InTheHand.WindowsMobile.PocketOutlook Dim polApp As New OutlookSession() Dim pAppt As New Appointment pAppt.Subject = "Recurring Appointment" pAppt.Start = New DateTime(1999,4,5,10,0,0) 'get the recurrence pattern and set weekly recurrence every monday Dim pRec As RecurrencePattern pRec = pAppt.RecurrencePattern pRec.RecurrenceType = RecurrenceType.Weekly pRec.DayOfWeekMask = DaysOfWeek.Monday pRec.NoEndDate = True ' Save the appointment pAppt.Update()