Example #1
0
 /// <summary>
 /// Appointments the clear recurrence pattern.
 /// </summary>
 /// <param name="oAppItem">The o app item.</param>
 public void AppointmentClearRecurrencePattern(Outlook._AppointmentItem oAppItem)
 {
     if (oAppItem == null)
     {
         throw new ArgumentNullException("oAppItem");
     }
     if (this.InvokeRequired)
     {
         VoidFunc <Outlook._AppointmentItem> func = AppointmentClearRecurrencePattern;
         this.Invoke(func, oAppItem);
     }
     else
     {
         oAppItem.ClearRecurrencePattern();
     }
 }