Edit

Share via


Recurrence.WeeklyPattern Class

Definition

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

public: ref class Recurrence::WeeklyPattern sealed : Microsoft::Exchange::WebServices::Data::Recurrence::IntervalPattern
public sealed class Recurrence.WeeklyPattern : Microsoft.Exchange.WebServices.Data.Recurrence.IntervalPattern
Public NotInheritable Class Recurrence.WeeklyPattern
Inherits Recurrence.IntervalPattern
Inheritance

Constructors

Recurrence.WeeklyPattern()

Initializes a new instance of the WeeklyPattern class.

Recurrence.WeeklyPattern(DateTime, Int32, DayOfTheWeek[])

Initializes a new instance of the WeeklyPattern class with the specified values.

Properties

DaysOfTheWeek

Gets the days of the week on which the event recurs.

EndDate

Gets or sets the date after which the recurrence ends. Setting EndDate resets NumberOfOccurrences.

(Inherited from Recurrence)
FirstDayOfWeek

Gets the first day of the week for this recurrence.

HasEnd

Gets a value indicating whether the pattern has a fixed number of occurrences or an end date.

(Inherited from Recurrence)
Interval

Gets or sets the interval between occurrences.

(Inherited from Recurrence.IntervalPattern)
NumberOfOccurrences

Gets or sets the number of occurrences after which the recurrence ends. Setting NumberOfOccurrences resets EndDate.

(Inherited from Recurrence)
StartDate

Gets or sets the date and time when the recurrence start.

(Inherited from Recurrence)

Methods

IsSame(Recurrence)

Compares two objects by converting them to JavaScript Object Notation (JSON) and comparing their string values. The IsSame(Recurrence) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Recurrence)
NeverEnds()

Sets up this recurrence so that it never ends.

(Inherited from Recurrence)

Applies to