Edit

Share via


RecurrencePattern.Regenerate Property

Definition

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

public:
 property bool Regenerate { bool get(); void set(bool value); };
public bool Regenerate { get; set; }
Public Property Regenerate As Boolean

Property Value

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.

Applies to