Click or drag to resize

RecurringRule Class

Represents recurring rule for a event. You can use AddRecurringRule or AddRecurringRule(RecurringRule) to make event recurring. You can check RecurringRules collection to get all recurring rules defined for a event.
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.AppointmentsRecurringRule

Namespace:  Limilabs.Mail.Appointments
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
[SerializableAttribute]
public class RecurringRule

The RecurringRule type exposes the following members.

Constructors
  NameDescription
Public methodRecurringRule
Creates new recurring rule.
Top
Properties
  NameDescription
Public propertyByDay
Gets or sets BYDAY parameter. List of days when event should occur. You can use static fields of Weekday class e.g. Monday.
Public propertyByHour
Gets or sets BYHOUR parameter ranging from 0 to 23.
Public propertyByMinute
Gets or sets BYMINUTE parameter ranging from 0 to 59.
Public propertyByMonthDay
Gets or sets BYMONTHDAY parameter. List of values ranging from -31 to 31.
Public propertyByMonths
Gets or sets BYMONTH parameter. List of months when event should occur ranging from 1 to 12.
Public propertyBySecond
Gets or sets BYSECOND parameter ranging from 0 to 59.
Public propertyBySetPos
Gets or sets BYSETPOS parameter. Specifies list of values which corresponds to the nth occurrence within the set of events specified by the rule. Valid values are 1 to 366 or -366 to -1. It MUST only be used in conjunction with another BYxxx rule part. For example "the last work day of the month" could be represented as: RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
Public propertyByWeekNumber
Gets or sets BYWEEKNO parameter. List of values ranging from 1 to 53 or -53 to -1. A week is defined as a seven day period, starting on the day of the week defined to be the week start (WorkweekStarts). Week number one of the calendar year is the first week which contains at least four (4) days in that calendar year. This rule part is only valid for YEARLY rules. For example, 3 represents the third week of the year.
Public propertyByYearDay
Gets or sets BYYEARDAY parameter. List of values ranging from -365 to 365.
Public propertyCount
Gets or sets how many times event will be repeated.
Public propertyFrequency
Gets or sets frequency for this rule. You can use static fields of Frequency class e.g. Weekly
Public propertyInterval
Gets or sets recurring interval of this rule.
Public propertyUntil
Gets or sets the date the until which event will be repeated (Always converted to the UTC value).
Public propertyWorkweekStarts
Gets or sets WKST parameter. The WKST rule part specifies the day on which the workweek starts. This is significant when a WEEKLY RRULE has an interval greater than 1, and a BYDAY rule part is specified. This is also significant when in a YEARLY RRULE when a BYWEEKNO rule part is specified. The default value is MO.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also