I am developing an Add-In that needs to do a function when I delete / cancel a meeting.
I used the code:
Application app = Globals.ThisAddIn.Application;
Folder calendarFolder = app.GetNamespace("MAPI").GetDefaultFolder(OlDefaultFolders.olFolderCalendar) as Folder;
_calcitems.ItemRemove += CalcitemsItemRemove;
The event CalcItemsRemove is called every time something is removed from the CalenderFolder.
Strangely this event is called even if the meeting item got accepted.
My question is how to identify
-> If an appointment is deleted from the calender Item. -> If an appointment is cancelled