Search
Recurrence Members
Constructors Properties Methods Events
 


Defines recurrence patterns for items scheduled to repeat over and over again.

The following tables list the members exposed by the Recurrence type.

 Public Constructors

  Name Description

Recurrence

Initializes a new instance of the Recurrence class.

 Public Properties

  Name Description

DailyRecurrence

Gets or sets the type of daily recurrence.

Day

Gets or sets a value indicating on which day of a week the event occurs.

DayOfMonth

Gets or sets on which day of a month the event occurs.

Days

Gets or sets how many days should pass before the event occurs again.

DaysOfWeek

Gets or sets on which days of a week the event occurs.

EndDate

Gets or sets the end date of the recurrence.

Exceptions

Gets the list of all recurrence exceptions.

Interval

Gets or sets the recurrence interval.

Master

Gets the master item of this recurrence. The property returns null if the recurrence is not associated with an item.

MonthlyRecurrence

Gets or sets the type of monthly recurrence.

MonthOfYear

Gets or sets in which month of the year the event occurs.

Months

Gets or sets how many months should pass before the event occurs again.

NumOccurrences

Gets or sets how many times the recurring event should occur.

Occurrence

Gets or sets on which occurrence of the day type specified in Day the event occurs.

Pattern

Gets or sets the recurrence pattern.

RecurrenceEnd

Gets or sets when the event should stop recurring.

StartDate

Gets or sets when the recurring event should occur for the first time.

Weeks

Gets or sets how many weeks should pass before the event occurs again.

YearlyRecurrence

Gets or sets the type of yearly recurrence.

 Public Methods

  Name Description

ApplyPattern

Copies the fields of the specified Recurrence object to this recurrence.

ClearExceptions

Removes all exceptions of this recurrence.

Clone

Creates an exact copy of this Recurrence object.

GenerateItems

Overloaded. Creates occurrence items for this recurrence in the specified date range.

GetEndDate

Returns the end date for this recurrence.

GetOccurrence

Overloaded. Returns the occurrence having the specified index.

LoadFrom

Overloaded.  

MarkException

Marks the specified item as an exception of a recurrence pattern.

SamePatternAs

Determines whether two Recurrence objects define the same recurrence pattern.

SaveTo

Overloaded.  

ToLocalizedString

Returns a localized string that represents this Recurrence using the specified date and time formatting info and localization information.

ToString

Overloaded. Creates a string from this recurrence.

 Protected Methods

  Name Description

OnValidateOccurrence

Raises the ValidateOccurrence event.

 Public Events

  Name Description

ValidateOccurrence

Raised during item generation to allow validation and customization of the generated occurrences.

 See Also