Table of Contents

Class Recurrence.WeeklyPattern

Namespace
Microsoft.Exchange.WebServices.Data
Assembly
Microsoft.Exchange.WebServices.dll

Represents a recurrence pattern where each occurrence happens on specific days a specific number of weeks after the previous one.

public sealed class Recurrence.WeeklyPattern : Recurrence.IntervalPattern
Inheritance
Recurrence.WeeklyPattern
Inherited Members

Constructors

WeeklyPattern()

Initializes a new instance of the Recurrence.WeeklyPattern class.

public WeeklyPattern()

WeeklyPattern(DateTime, int, params DayOfTheWeek[])

Initializes a new instance of the Recurrence.WeeklyPattern class.

public WeeklyPattern(DateTime startDate, int interval, params DayOfTheWeek[] daysOfTheWeek)

Parameters

startDate DateTime

The date and time when the recurrence starts.

interval int

The number of weeks between each occurrence.

daysOfTheWeek DayOfTheWeek[]

The days of the week when occurrences happen.

Properties

DaysOfTheWeek

Gets the list of the days of the week when occurrences happen.

public DayOfTheWeekCollection DaysOfTheWeek { get; }

Property Value

DayOfTheWeekCollection

FirstDayOfWeek

Gets or sets the first day of the week for this recurrence.

public DayOfWeek FirstDayOfWeek { get; set; }

Property Value

DayOfWeek