Edit

Share via


Recurrence.RelativeYearlyPattern Class

Definition

Represents a recurrence pattern in which each occurrence happens on a relative day every year.

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

Constructors

Recurrence.RelativeYearlyPattern()

Initializes a new instance of the Microsoft.Exchange.WebServices.Data.Recurrence.RelativeYearlyPattern class.

Recurrence.RelativeYearlyPattern(DateTime, Month, DayOfTheWeek, DayOfTheWeekIndex)

Initializes a new instance of the Microsoft.Exchange.WebServices.Data.Recurrence.RelativeYearlyPattern class with the specified parameters.

Properties

DayOfTheWeek

Gets or sets the day of the week on which the event recurs.

DayOfTheWeekIndex

Gets or sets the week of the month on which the event recurs.

EndDate

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

(Inherited from Recurrence)
HasEnd

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

(Inherited from Recurrence)
Month

Gets or sets the month of the year when each occurrence happens.

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