Recurrence.Occurrences Property

3/29/2010

Gets or sets the number of occurrences in the recurrence pattern.

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

Syntax

public int Occurrences { get; set; }
'Declaration
Public Property Occurrences As Integer

Remarks

Not used if NoEndDate is true.

To use Occurrences, set NoEndDate to false. After you set Occurrences, PatternEndDate is set automatically when you save the PIM item.

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