J
Jason
Symptom:
When deleting an entire appointment series, the ItemRemove event always
fires. - That is correct.
When deleting the 1st item from a recurring appointment series, the
ItemRemove event does fire. - That is correct.
However, when deleting the other items (2nd to the last) from a recurring
appointment series, the ItemRemove event does not fire. Instead, ItemChange
event is fired. It does not matter if the 1st item has been removed or not.
Question:
In ItemChange event handler, how to detect that the event is actually an
ItemRemove, not ItemChange?
In the Outlook.RecurrencePattern.Exception collection, the Deleted property
is true for all objects in it, when doing delete and update. Can't see
difference between delete and update. What are the real flags/identifiers?
When deleting an entire appointment series, the ItemRemove event always
fires. - That is correct.
When deleting the 1st item from a recurring appointment series, the
ItemRemove event does fire. - That is correct.
However, when deleting the other items (2nd to the last) from a recurring
appointment series, the ItemRemove event does not fire. Instead, ItemChange
event is fired. It does not matter if the 1st item has been removed or not.
Question:
In ItemChange event handler, how to detect that the event is actually an
ItemRemove, not ItemChange?
In the Outlook.RecurrencePattern.Exception collection, the Deleted property
is true for all objects in it, when doing delete and update. Can't see
difference between delete and update. What are the real flags/identifiers?