Share via


AppointmentRecurrence.Duration Property

3/29/2010

Gets or sets the length of time that the recurrence pattern lasts. Duration is supported for Appointments only.

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

Syntax

public TimeSpan Duration { get; set; }
'Declaration
Public Property Duration As TimeSpan

Remarks

If you do not specify the duration, Outlook Mobile calculates it. Duration is ignored if you set both StartTime and EndTime. Duration is used to calculate StartTime or EndTime if one is omitted. Duration cannot be set longer than 31 days.

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

AppointmentRecurrence Class
AppointmentRecurrence Members
Microsoft.WindowsMobile.PocketOutlook Namespace