Exemple #1
0
        private string Write10_WeekOrderInMonth(WeekOrderInMonth v)
        {
            string result;

            switch (v)
            {
            case WeekOrderInMonth.Last:
                result = "Last";
                break;

            case WeekOrderInMonth.None:
                result = "None";
                break;

            case WeekOrderInMonth.First:
                result = "First";
                break;

            case WeekOrderInMonth.Second:
                result = "Second";
                break;

            case WeekOrderInMonth.Third:
                result = "Third";
                break;

            case WeekOrderInMonth.Fourth:
                result = "Fourth";
                break;

            default:
                throw base.CreateInvalidEnumValueException(((long)v).ToString(CultureInfo.InvariantCulture), "Microsoft.Exchange.Data.Storage.VersionedXml.WeekOrderInMonth");
            }
            return(result);
        }
Exemple #2
0
 public Recurrence(RecurrenceType type, uint interval, uint nthDayInMonth, DaysOfWeek daysOfWeek, WeekOrderInMonth weekOrderInMonth, uint monthOrder)
 {
     this.Type             = type;
     this.Interval         = interval;
     this.NthDayInMonth    = nthDayInMonth;
     this.DaysOfWeek       = daysOfWeek;
     this.WeekOrderInMonth = weekOrderInMonth;
     this.MonthOrder       = monthOrder;
 }