Recurrence.YearlyPattern Class

Definition

Represents a recurrence pattern where each occurrence happens on a specific day every year.

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

Constructors

Recurrence.YearlyPattern()

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

Recurrence.YearlyPattern(DateTime, Month, Int32)

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

Properties

DayOfMonth

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

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