Class ByDayCollection

ByDayCollection class

Represents a collection of ByDay objects.

public class ByDayCollection : Collection<ByDay>


Add(ByDay)Adds a ByDay to the collection.
Add(DayOfWeek)Creates and adds a ByDay that represents all occurrences of the day of the week to the collection.
Add(int, DayOfWeek)Creates and adds a ByDay to the collection.
Contains(DayOfWeek)Returns a value indicating whether a specified day of week is present in the collection.


Corresponds to the BYDAY part of the recurrence rule.

The BYDAY rule specifies a list of days of the week for a monthly or yearly recurrence rule.

For each day of the week, a specific Nth occurrence or all occurrences can be specified.

See Also