I realized the Original time of Exception object can be used as ID. It is
different/unique for each Exception. In a series, each occurrence's start
time is different/unique. It is calculated based on the series start date
time, adding up time difference.
Adding an ID property to Exception object will not break any thing.
Microsoft should do it.
The ID can have already been used as the key of the Exception object in the
Exceptions collection. It is just not yet exposed.
Anyway I gave up. Anything leads to messy code is not worth of
implementation. It will cost you far more than initial creation. The cost of
product maintenance, and the cost of user learning and using the product,
get scary down the road.
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Recurrences do not exist as independent instances of an appointment. They
only exist as calculations based on the master appointment's
RecurrencePattern. The Exceptions collection contains those calculated
instances that were modified or deleted. That's the way it is and has been
since Schedule+, it cannot be changed without breaking all existing
recurring items and recurrence code.
Based on the information in this thread you should be able to identify
which occurrences were modified, which were deleted and which have the
original settings. It takes work to do that but that's life. That you
can't get an individual EntryID is due to the nature of the design but
hasn't handicapped other developers working with recurrences.
What you want does not exist. Therefore you either can't do what you want,
must change how you synch or come up with some other workaround.
There are many problems with the existing implementation, but again that's
not changing.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Jason" wrote in message
...
Let me clarify again. I need to be able to identify the item that was
modified or deleted, in other words, I need the ID of single occurrence,
otherwise I can not sync it with other applications. Unfortunately, the
ID is not there. EntryID is just for the whole series. There is no ID for
each occurrence. (ID may be hidden) There is no way to know which item
was modified or deleted. Although it does not matter to work on Outlook
itself as you have done, there is no way to sync Outlook's single
occurence with other application. We can only fall back, treating
recurrence as a whole.
In addition to this limitation, Outlook's recurrence design also has
another big problem.