Compartilhar via


DaysOfWeek Enumeration

3/29/2010

Specifies the days of the week used in a recurrence pattern.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

[FlagsAttribute] 
public enum DaysOfWeek
'Declaration
<FlagsAttribute> _
Public Enumeration DaysOfWeek

Members

Member name Description
Friday The item recurs daily on a Friday. Value = 32.
Monday The item recurs daily on a Monday. Value = 2.
Saturday The item recurs daily on a Saturday. Value = 64.
Sunday The item recurs daily on a Sunday. Value = 1.
Thursday The item recurs daily on a Thursday. Value = 16.
Tuesday The item recurs daily on a Tuesday. Value = 4.
Wednesday The item recurs daily on a Wednesday. Value = 8.

Remarks

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Example

The following code example demonstrates how to set a weekly recurrence occuring every Monday and Tuesday.

recurrence.DaysOfWeekMask = DaysOfWeek.Monday | DaysOfWeek.Tuesday;

See Also

Reference

Microsoft.WindowsMobile.PocketOutlook Namespace