Class Recurrence.YearlyPattern
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a recurrence pattern where each occurrence happens on a specific day every year.
public sealed class Recurrence.YearlyPattern : Recurrence
- Inheritance
-
Recurrence.YearlyPattern
- Inherited Members
Constructors
YearlyPattern()
Initializes a new instance of the Recurrence.YearlyPattern class.
public YearlyPattern()
YearlyPattern(DateTime, Month, int)
Initializes a new instance of the Recurrence.YearlyPattern class.
public YearlyPattern(DateTime startDate, Month month, int dayOfMonth)
Parameters
startDate
DateTimeThe date and time when the recurrence starts.
month
MonthThe month of the year each occurrence happens.
dayOfMonth
intThe day of the month each occurrence happens.
Properties
DayOfMonth
Gets or sets the day of the month when each occurrence happens. DayOfMonth must be between 1 and 31.
public int DayOfMonth { get; set; }
Property Value
Month
Gets or sets the month of the year when each occurrence happens.
public Month Month { get; set; }