Add

Add (1 of 3)

Creates and adds a ByDay to the collection.

Returns: The zero-based index of the newly added item.

Add(int32_t nthOccurrence, System::DayOfWeek dayOfWeek)
ParameterDescription
nthOccurrenceThe nth occurrence of the day of the week.
dayOfWeekA day of the week.

Add (2 of 3)

Creates and adds a ByDay that represents all occurrences of the day of the week to the collection.

Returns: The zero-based index of the newly added item.

Add(System::DayOfWeek dayOfWeek)
ParameterDescription
dayOfWeekA day of the week.

Add (3 of 3)

Adds a ByDay to the collection.

Returns: The zero-based index of the newly added item.

Add(System::SharedPtr < ByDay > byDay)
ParameterDescription
byDayThe item to add to the collection.