# OutlookRecurrence

Format-neutral Outlook recurrence with lossless raw-state retention and local-clock semantics.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OutlookRecurrence.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L135)

**Modifiers**

sealed

Format-neutral Outlook recurrence with lossless raw-state retention and local-clock semantics.

## Inheritance

- object
- OutlookRecurrence

## Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 5

- Property [OutlookAppointment.Recurrence](/api/email/officeimo-email-outlookappointment/#property-recurrence)
- Method [OutlookRecurrenceBinary.DecodeAppointment](/api/email/officeimo-email-outlookrecurrencebinary/#method-decodeappointment-byte-int32)
- Method [OutlookRecurrenceBinary.DecodeTask](/api/email/officeimo-email-outlookrecurrencebinary/#method-decodetask-byte)
- Property [OutlookRecurrenceIcsImportResult.Recurrence](/api/email/officeimo-email-outlookrecurrenceicsimportresult/#property-recurrence)
- Property [OutlookTask.Recurrence](/api/email/officeimo-email-outlooktask/#property-recurrence)

### Accepted by parameters 4

- Method [OutlookRecurrenceBinary.EncodeAppointment](/api/email/officeimo-email-outlookrecurrencebinary/#method-encodeappointment-officeimo-email-outlookrecurrence-int32) parameter `recurrence`
- Method [OutlookRecurrenceBinary.EncodeTask](/api/email/officeimo-email-outlookrecurrencebinary/#method-encodetask-officeimo-email-outlookrecurrence) parameter `recurrence`
- Method [OutlookRecurrenceExpander.Expand](/api/email/officeimo-email-outlookrecurrenceexpander/#method-expand-officeimo-email-outlookrecurrence-officeimo-email-outlookrecurrenceexpansionoptions) parameter `recurrence`
- Method [OutlookRecurrenceIcsConverter.Export](/api/email/officeimo-email-outlookrecurrenceicsconverter/#method-export-officeimo-email-outlookrecurrence-officeimo-email-outlookrecurrenceicsexportoptions) parameter `recurrence`

Filter members 

Show inherited

## Constructors

`public OutlookRecurrence()` [#](#constructor-ctor)

[OutlookRecurrence.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L135)

Creates an editable recurrence.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public OutlookRecurrenceFrequency Frequency { get; set; }` [#](#property-frequency)

[OutlookRecurrence.cs:159](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L159)

Recurrence frequency.

`public OutlookRecurrencePatternKind PatternKind { get; set; }` [#](#property-patternkind)

[OutlookRecurrence.cs:161](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L161)

Pattern shape within the recurrence interval.

`public int Interval { get; set; }` [#](#property-interval)

[OutlookRecurrence.cs:163](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L163)

Positive frequency interval.

`public DateTime Start { get; set; }` [#](#property-start)

[OutlookRecurrence.cs:165](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L165)

Local start of the first occurrence.

`public TimeSpan Duration { get; set; }` [#](#property-duration)

[OutlookRecurrence.cs:167](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L167)

Duration of each unmodified occurrence.

`public OutlookRecurrenceDays DaysOfWeek { get; set; }` [#](#property-daysofweek)

[OutlookRecurrence.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L169)

Weekday mask for weekly or ordinal-month patterns.

`public int? DayOfMonth { get; set; }` [#](#property-dayofmonth)

[OutlookRecurrence.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L171)

Day of month for MonthDay patterns.

`public OutlookRecurrenceWeekOrdinal? WeekOrdinal { get; set; }` [#](#property-weekordinal)

[OutlookRecurrence.cs:173](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L173)

Ordinal for MonthNth patterns.

`public DayOfWeek FirstDayOfWeek { get; set; }` [#](#property-firstdayofweek)

[OutlookRecurrence.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L175)

First day of a calendar week.

`public OutlookRecurrenceRangeKind RangeKind { get; set; }` [#](#property-rangekind)

[OutlookRecurrence.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L177)

Series end condition.

`public int? OccurrenceCount { get; set; }` [#](#property-occurrencecount)

[OutlookRecurrence.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L179)

Base occurrence count when RangeKind is OccurrenceCount.

`public DateTime? EndDate { get; set; }` [#](#property-enddate)

[OutlookRecurrence.cs:181](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L181)

Inclusive local end date when RangeKind is EndDate.

`public ushort CalendarType { get; set; }` [#](#property-calendartype)

[OutlookRecurrence.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L183)

Raw Outlook calendar type. Zero is default Gregorian.

`public bool Sliding { get; set; }` [#](#property-sliding)

[OutlookRecurrence.cs:185](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L185)

Task sliding-recurrence flag.

`public string? TimeZoneId { get; set; }` [#](#property-timezoneid)

[OutlookRecurrence.cs:187](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L187)

Windows or iCalendar time-zone identifier associated with the local clock values.

`public IList<DateTime> DeletedOccurrenceDates { get; }` [#](#property-deletedoccurrencedates)

[OutlookRecurrence.cs:189](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L189)

Deleted base occurrence dates, in local time.

`public IList<OutlookRecurrenceException> Exceptions { get; }` [#](#property-exceptions)

[OutlookRecurrence.cs:191](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L191)

Modified occurrences.

`public bool StateDecoded { get; internal set; }` [#](#property-statedecoded)

[OutlookRecurrence.cs:193](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L193)

Whether a retained native recurrence payload was decoded completely.

`public string? DecodeError { get; internal set; }` [#](#property-decodeerror)

[OutlookRecurrence.cs:195](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L195)

Decode failure when native state is retained but unavailable through typed fields.

`public byte[]? RawState { get; internal set; }` [#](#property-rawstate)

[OutlookRecurrence.cs:197](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookRecurrence.cs#L197)

Original AppointmentRecurrencePattern or task RecurrencePattern bytes.

<!-- PowerForge markdown artifact sha256:C79BB3024517E6A5EE0573E682966D80746BE0B04484976380909A36DDF4A0CF -->
