If your trying to set the DaysOfWeek for a WeeklyRecurrencePatternType and find that you cannot set it with enumerated values using code such as the following, you will find that it does not work. WeeklyRecurrencePatternType weeklyPattern = new WeeklyRecurrencePatternType();