IcalRecurrenceFrequency Enum
Definition
Namespace: DataStandardizer.File.iCal
The FREQ rule part of a recurrence rule (RFC 5545 ยง3.3.10): the interval at which a rule repeats. Read it from IcalRecurrenceRule.Frequency.
Syntax
public enum IcalRecurrenceFrequency
Fields
| Field | Value | Meaning |
|---|---|---|
Secondly | 1 | Repeats every second or more (SECONDLY). |
Minutely | 2 | Repeats every minute or more (MINUTELY). |
Hourly | 3 | Repeats every hour or more (HOURLY). |
Daily | 4 | Repeats every day or more (DAILY). |
Weekly | 5 | Repeats every week or more (WEEKLY). |
Monthly | 6 | Repeats every month or more (MONTHLY). |
Yearly | 7 | Repeats every year or more (YEARLY). |
Remarks
There is no member with the value 0. The default IcalRecurrenceRule has a Frequency of 0, meaning no frequency, and is not a valid rule. Passing a value that is not a member to the IcalRecurrenceRule constructor or to WithFrequency throws ArgumentOutOfRangeException.
A rule whose DTSTART is a DATE must have a frequency of Daily or above; see IcalRecurrenceRule.GetOccurrences.
Applies to
Targets netstandard1.1, netstandard2.0, netstandard2.1, and net10.0.