MapiRecurrencePattern Class

The recurrence of an appointment ([MS-OXOCAL] 2.2.1.44, the PidLidAppointmentRecur property). The dates are in the time zone of the appointment.

public sealed class MapiRecurrencePattern

Constructors

NameDescription
MapiRecurrencePattern()

MapiRecurrencePattern()

MapiRecurrencePattern.cs
public MapiRecurrencePattern()

No documentation is available.

Properties

NameDescription
CalendarTypeGets or sets the calendar of the pattern (0 for the Gregorian calendar, [MS-OXOCAL] 2.2.1.44.1).
DayOfMonthGets or sets the day of the month of a MapiRecurrencePatternType.Month pattern.
DaysOfWeekGets or sets the days of the week of a MapiRecurrencePatternType.Week or MapiRecurrencePatternType.MonthNth pattern.
DeletedInstanceDatesGets the dates of the occurrences that are deleted or modified (at midnight, in the original dates of the occurrences).
EndDateGets or sets the date of the last occurrence (at midnight); December 31, 4500 when the recurrence never ends.
EndTimeOffsetGets or sets the end time of the occurrences, as an offset from the midnight of their start.
EndTypeGets or sets how the recurrence ends.
ExceptionsGets the occurrences that differ from the pattern.
FirstDateTimeGets or sets the first occurrence of the pattern, as a number of minutes ([MS-OXOCAL] 2.2.1.44.1.2 describes how Outlook computes it).
FirstDayOfWeekGets or sets the first day of the week.
FrequencyGets or sets how often the recurrence repeats.
ModifiedInstanceDatesGets the dates of the occurrences that are modified (at midnight, in the new start dates of the occurrences).
OccurrenceCountGets or sets the number of occurrences, when the recurrence ends after a number of occurrences.
PatternTypeGets or sets the type of the pattern.
PeriodGets or sets the interval: a number of minutes for a daily pattern, of weeks for a weekly pattern, of months for a monthly or yearly pattern.
SlidingFlagGets or sets the sliding flag of the pattern, used by tasks that regenerate.
StartDateGets or sets the date of the first occurrence (at midnight).
StartTimeOffsetGets or sets the start time of the occurrences, as an offset from midnight.
WeekOfMonthGets or sets the week of the month (1 to 4, 5 for the last one) of a MapiRecurrencePatternType.MonthNth pattern.

Gets or sets the calendar of the pattern (0 for the Gregorian calendar, [MS-OXOCAL] 2.2.1.44.1).

public int CalendarType { get; set; }

Property value

int

Gets or sets the day of the month of a MapiRecurrencePatternType.Month pattern.

public int DayOfMonth { get; set; }

Property value

int

Gets or sets the days of the week of a MapiRecurrencePatternType.Week or MapiRecurrencePatternType.MonthNth pattern.

public MapiDaysOfWeek DaysOfWeek { get; set; }

Property value

MapiDaysOfWeek

DeletedInstanceDates

MapiRecurrencePattern.cs

Gets the dates of the occurrences that are deleted or modified (at midnight, in the original dates of the occurrences).

public IList<DateTime> DeletedInstanceDates { get; }

Property value

IList<DateTime>

Gets or sets the date of the last occurrence (at midnight); December 31, 4500 when the recurrence never ends.

public DateTime EndDate { get; set; }

Property value

DateTime

Gets or sets the end time of the occurrences, as an offset from the midnight of their start.

public TimeSpan EndTimeOffset { get; set; }

Property value

TimeSpan

Gets or sets how the recurrence ends.

public MapiRecurrenceEndType EndType { get; set; }

Property value

MapiRecurrenceEndType

Gets the occurrences that differ from the pattern.

public IList<MapiRecurrenceException> Exceptions { get; }

Gets or sets the first occurrence of the pattern, as a number of minutes ([MS-OXOCAL] 2.2.1.44.1.2 describes how Outlook computes it).

public int FirstDateTime { get; set; }

Property value

int

Gets or sets the first day of the week.

public DayOfWeek FirstDayOfWeek { get; set; }

Property value

DayOfWeek

Gets or sets how often the recurrence repeats.

public MapiRecurrenceFrequency Frequency { get; set; }

ModifiedInstanceDates

MapiRecurrencePattern.cs

Gets the dates of the occurrences that are modified (at midnight, in the new start dates of the occurrences).

public IList<DateTime> ModifiedInstanceDates { get; }

Property value

IList<DateTime>

Gets or sets the number of occurrences, when the recurrence ends after a number of occurrences.

public int OccurrenceCount { get; set; }

Property value

int

Gets or sets the type of the pattern.

public MapiRecurrencePatternType PatternType { get; set; }

Gets or sets the interval: a number of minutes for a daily pattern, of weeks for a weekly pattern, of months for a monthly or yearly pattern.

public int Period { get; set; }

Property value

int

Gets or sets the sliding flag of the pattern, used by tasks that regenerate.

public int SlidingFlag { get; set; }

Property value

int

Gets or sets the date of the first occurrence (at midnight).

public DateTime StartDate { get; set; }

Property value

DateTime

Gets or sets the start time of the occurrences, as an offset from midnight.

public TimeSpan StartTimeOffset { get; set; }

Property value

TimeSpan

Gets or sets the week of the month (1 to 4, 5 for the last one) of a MapiRecurrencePatternType.MonthNth pattern.

public int WeekOfMonth { get; set; }

Property value

int