Export (0) Print
Expand All
Expand Minimize

DayOfWeekIndexType Enumeration

The DayOfWeekIndexType enumeration describes which week in a month is used in a relative recurrence pattern.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

[SerializableAttribute]
public enum DayOfWeekIndexType

Member nameDescription
FirstIndicates that the first week in the month is used in the recurrence pattern.
SecondIndicates that the second week in the month is used in the recurrence pattern.
ThirdIndicates that the third week in the month is used in the recurrence pattern.
FourthIndicates that the fourth week in the month is used in the recurrence pattern.
LastIndicates that the last week in the month is used in the recurrence pattern.

You can determine the day that is used in a yearly recurrence pattern by checking the DayOfWeekIndex property of the RelativeYearlyRecurrencePatternType class along with the Month property. You can determine the week that is used in a monthly recurrence pattern by checking the DayOfWeekIndex property of the RelativeMonthlyRecurrencePatternType class.

For example, the second Monday of a month may occur in the third week of that month. If the month starts on a Friday, the first week of the month does not contain a Monday. Therefore, the first Monday has to occur in the second week, and the second Monday of the month occurs in the third week.

Show:
© 2014 Microsoft