Class ByNumberCollection

ByNumberCollection class

Represents a set of months, weeks, days, hours, minutes or seconds in a recurrence rule.

public class ByNumberCollection : List<int>

Methods

NameDescription
Add(int)Adds a month, week, day, hour, minute or second to the collection.
Add(int[])Adds an array of month, week, day, hour, minute or second to the collection.

Remarks

Corresponds to various BYXXX parts such as BYDAY, BYMONTH of a recurrence rule.

Most of the ByXXX properties of RecurrenceRule are implemented as ByNumberCollection.

See Also