Partager via


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)

Syntax

'Declaration
<SerializableAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/exchange/services/2006/types")> _
Public Enumeration DayOfWeekIndexType
[SerializableAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types")] 
public enum DayOfWeekIndexType
[SerializableAttribute] 
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")] 
[XmlTypeAttribute(Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types")] 
public enum class DayOfWeekIndexType
/** @attribute SerializableAttribute() */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") */ 
public enum DayOfWeekIndexType
SerializableAttribute 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
XmlTypeAttribute(Namespace="https://schemas.microsoft.com/exchange/services/2006/types") 
public enum DayOfWeekIndexType

Members

Member name Description
First Indicates that the first week in the month is used in the recurrence pattern.
Fourth Indicates that the fourth week in the month is used in the recurrence pattern.
Last Indicates that the last week in the month is used in the recurrence pattern.
Second Indicates that the second week in the month is used in the recurrence pattern.
Third Indicates that the third week in the month is used in the recurrence pattern.

Remarks

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.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)

See Also

Reference

ExchangeWebServices Namespace

Other Resources

DayOfWeekIndex