Share via


RecurrencePattern.Regenerate Property

Returns a Boolean (bool in C#) that indicates True if the task should be regenerated following this pass through the recurrence pattern. Read/write.

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

Syntax

'Declaration
Property Regenerate As Boolean
    Get
    Set
'Usage
Dim instance As RecurrencePattern
Dim value As Boolean

value = instance.Regenerate

instance.Regenerate = value
bool Regenerate { get; set; }

Property Value

Type: System.Boolean

Remarks

This property is used to control the regeneration of the task as each occurrence of a recurring task is completed. It is only valid for tasks. It is not valid for appointments.

To create a recurrence pattern, you must first set the RecurrenceType property to set the frequency, then set the Regenerate property to True to regenerate the task. After setting Regenerate to True, do not set it to False. If you subsequently set Regenerate to False, then you should set up the recurrence pattern again by getting a new RecurrencePattern object.

See Also

Reference

RecurrencePattern Interface

RecurrencePattern Members

Microsoft.Office.Interop.Outlook Namespace