Share via


RecurrencePattern.PatternEndDate Property

Returns or sets a Date indicating the end date for the recurrence pattern. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property PatternEndDate As DateTime
    Get
    Set
'Usage
Dim instance As RecurrencePattern
Dim value As DateTime

value = instance.PatternEndDate

instance.PatternEndDate = value
DateTime PatternEndDate { get; set; }

Property Value

Type: System.DateTime

Remarks

This property is optional but must be coordinated with other properties when setting up a recurrence pattern. If this property or the Occurrences property is set, the pattern is considered to be finite, and the NoEndDate property is False. If neither PatternEndDate nor Occurrences is set, the pattern is considered infinite and NoEndDate is True. The Interval property must be set before setting PatternEndDate.

See Also

Reference

RecurrencePattern Interface

RecurrencePattern Members

Microsoft.Office.Interop.Outlook Namespace