ByDayCollection Class

Represents a collection of ByDay objects.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionByDay
    Aspose.Email.Calendar.RecurrencesByDayCollection

Namespace:  Aspose.Email.Calendar.Recurrences
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public class ByDayCollection : Collection<ByDay>

The ByDayCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount (Inherited from CollectionByDay.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionByDay.)
Protected propertyItems (Inherited from CollectionByDay.)
Methods
  NameDescription
Public methodAdd(DayOfWeek)
Creates and adds a ByDay that represents all occurrences of the day of the week to the collection.
Public methodAdd(ByDay)
Adds a ByDay to the collection.
Public methodAdd(Int32, DayOfWeek)
Creates and adds a ByDay to the collection.
Public methodClear (Inherited from CollectionByDay.)
Protected methodClearItems (Inherited from CollectionByDay.)
Public methodContains(DayOfWeek)
Returns a value indicating whether a specified day of week is present in the collection.
Public methodContains(T) (Inherited from CollectionByDay.)
Public methodCopyTo (Inherited from CollectionByDay.)
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 methodGetEnumerator (Inherited from CollectionByDay.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionByDay.)
Public methodInsert (Inherited from CollectionByDay.)
Protected methodInsertItem (Inherited from CollectionByDay.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from CollectionByDay.)
Public methodRemoveAt (Inherited from CollectionByDay.)
Protected methodRemoveItem (Inherited from CollectionByDay.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CollectionByDay.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks

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