K
Ken Slovak - [MVP - Outlook]
I can't repro this.
If I change the start time of an item in a recurring series it is in
Exceptions, but it does not show Deleted == true.
I set up a series of appointments, 10 in all, and deleted the first 3. I
then modified another instance for start time. In Exceptions I had 3 marked
as Deleted == true, 1 as Deleted == false, exactly what I would have
expected.
"Jason" <a@a.com> wrote in message
news:Omsj%23%23pnJHA.3840@TK2MSFTNGP03.phx.gbl...
> 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?
>
If I change the start time of an item in a recurring series it is in
Exceptions, but it does not show Deleted == true.
I set up a series of appointments, 10 in all, and deleted the first 3. I
then modified another instance for start time. In Exceptions I had 3 marked
as Deleted == true, 1 as Deleted == false, exactly what I would have
expected.
"Jason" <a@a.com> wrote in message
news:Omsj%23%23pnJHA.3840@TK2MSFTNGP03.phx.gbl...
> 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?
>