Share via


Recurrence.ByDay constructor

The Recurrence.ByDay constructor creates a new Recurrence.ByDay structure that has a given weekday and week number.

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    day As DayOfWeek, _
    occurrenceNumber As Integer _
)
'Usage
Dim day As DayOfWeek
Dim occurrenceNumber As Integer

Dim instance As New Recurrence.ByDay(day, occurrenceNumber)
public ByDay(
    DayOfWeek day,
    int occurrenceNumber
)

Parameters

  • day
    Type: System.DayOfWeek

    The day of the week in the numbered week that is specified by occurrenceNumber.

  • occurrenceNumber
    Type: System.Int32

    The number of the week in the year.

See also

Reference

Recurrence.ByDay structure

Recurrence.ByDay members

Microsoft.Exchange.Data.ContentTypes.iCalendar namespace