ByDayCollection.Add
Contents
[
Hide
]Add(ByDay)
Adds a ByDay
to the collection.
public int Add(ByDay byDay)
Parameter | Type | Description |
---|---|---|
byDay | ByDay | The item to add to the collection. |
Return Value
The zero-based index of the newly added item.
See Also
- class ByDay
- class ByDayCollection
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email
Add(DayOfWeek)
Creates and adds a ByDay
that represents all occurrences of the day of the week to the collection.
public int Add(DayOfWeek dayOfWeek)
Parameter | Type | Description |
---|---|---|
dayOfWeek | DayOfWeek | A day of the week. |
Return Value
The zero-based index of the newly added item.
See Also
- class ByDayCollection
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email
Add(int, DayOfWeek)
Creates and adds a ByDay
to the collection.
public int Add(int nthOccurrence, DayOfWeek dayOfWeek)
Parameter | Type | Description |
---|---|---|
nthOccurrence | Int32 | The nth occurrence of the day of the week. |
dayOfWeek | DayOfWeek | A day of the week. |
Return Value
The zero-based index of the newly added item.
See Also
- class ByDayCollection
- namespace Aspose.Email.Calendar.Recurrences
- assembly Aspose.Email