Recurrence enumerators

An enum representing the frequency of the recurrence.

Property

Type

Description

None

Enum

Indicates no recurrence

Hourly

Enum

Indicates hourly recurrence

Daily

Enum

Indicates daily recurrence

Weekly

Enum

Indicates weekly recurrence

Monthly

Enum

Indicates monthly recurrence

Yearly

Enum

Indicates yearly recurrence

RecurrenceMonth

An enum representing the months in which the event recurs.

Property

Type

Description

None = 0

Enum

Indicates no monthly recurrence

January = 1

Enum

Indicates that the event recurs in January

February = 2

Enum

Indicates that the event recurs in February

March = 3

Enum

Indicates that the event recurs in March

April = 4

Enum

Indicates that the event recurs in April

May = 5

Enum

Indicates that the event recurs in May

June = 6

Enum

Indicates that the event recurs in June

July = 7

Enum

Indicates that the event recurs in July

August = 8

Enum

Indicates that the event recurs in August

September = 9

Enum

Indicates that the event recurs in September

October = 10

Enum

Indicates that the event recurs in October

November = 11

Enum

Indicates that the event recurs in November

December = 12

Enum

Indicates that the event recurs in December


RecurrenceDay

Specifies the days of the week. Members might be combined using bitwise operations to specify multiple days. The constants in the RecurrenceDay enumeration might be combined bitwise operations to represent any combination of days. It is designed to be used in conjunction with the RecurrencePattern class to filter the days of the week for which the recurrence pattern applies.

Consider the following example that demonstrates the basic usage pattern of RecurrenceDay. The most common operators used for manipulating bit fields are:

  • Bitwise OR: Turns a flag on
  • Bitwise XOR: Toggles a flag
  • Bitwise AND: Checks, if a flag is turned on
  • Bitwise NOT: Turns a flag off

Property

Type

Description

None

Enum

Indicates no day

Sunday

Enum

Indicates Sunday

Monday

Enum

Indicates Monday

Tuesday

Enum

Indicates Tuesday

Wednesday

Enum

Indicates Wednesday

Thursday

Enum

Indicates Thursday

Friday

Enum

Indicates Friday

Saturday

Enum

Indicates Saturday

EveryDay

Enum

Indicates the range from Sunday to Saturday inclusive

WeekDays

Enum

Indicates the range from Monday to Friday inclusive.

WeekendDays

Enum

Indicates the range from Saturday to Sunday inclusive.

EXAMPLE: The following example produces the following results:
  • Value: 112 - Friday, WeekendDays
  • Value: 119 - Monday, Tuesday, Wednesday, Friday, WeekendDays

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?