Outlook Addin: Moving Appointment in Calendar does not reflect new date/time in AppointmentItem (catch Calendar.ItemChange)

后端 未结 1 1953
北荒
北荒 2021-01-28 21:07

i am trying to develop an Outlook Addin which updates a web services whenevery the ser moves an appointment (with drag and drop) in his calendar. In my VSTO based Outlook Addin

相关标签:
1条回答
  • 2021-01-28 21:40

    Not using the Outlook Objector Model - it likes caching old stale values. All items are affected, but appointments are the worst - sometimes you would also need to change the current folder and come back. You would need to release the item in question, open another item, and only then open this item by its entry id. The problem you cannot do that from the event handler of the item that raises the event.

    Your only other options are Extended MAPI (C++ or Delphi only) or Redemption.

    0 讨论(0)
提交回复
热议问题