Share via


Recurrence.PatternEndDate Property

3/29/2010

Gets or sets the ending date of the recurrence pattern.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public DateTime PatternEndDate { get; set; }
'Declaration
Public Property PatternEndDate As DateTime

Property Value

Not used if NoEndDate is true. To use PatternEndDate, set NoEndDate to false. After you set this property, NumberOfOccurrences is set automatically when you save the PIM item. Recurrence duration applies to Appointment items only. The time returned is in the time zone of the appointment. You must set the date values for PatternStartDate and PatternEndDate. The recurrence pattern's PatternStartDate and PatternEndDate must be equal to the time and date of one of the appointments in the recurrence series. If the appointment is less than a day, then the recurrence pattern PatternStartDate and PatternEndDate must be equal. The start and end times for recurring Appointments are set in terms of the Timezone property (PIMPR_TIMEZONE), but the Start and End times for individual Appointments are set and read in terms of the local (device's) Timezone. For example, a recurring Appointment set to recur at noon London time, would occur at 4:00 AM Pacific time.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

Recurrence Class
Recurrence Members
Microsoft.WindowsMobile.PocketOutlook Namespace