In The Hand LtdIn The Hand
RecurrencePattern Property
NamespacesInTheHand.WindowsMobile.PocketOutlookAppointmentRecurrencePattern
.NET Components for Mobility
Retrieves the current AppointmentRecurrence for an Appointment.
Declaration Syntax
C#Visual Basic
public AppointmentRecurrence RecurrencePattern { get; }
Public ReadOnly Property RecurrencePattern As AppointmentRecurrence
	Get
Value
The current AppointmentRecurrence for an Appointment.
Remarks
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.
Examples
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()
See Also

Assembly: InTheHand.WindowsMobile.PocketOutlook (Module: InTheHand.WindowsMobile.PocketOutlook) Version: 7.0.0.0