所以我使用Redemption操作Outlook约会,我发现如果我尝试删除之前已经编辑过的定期约会事件,那么delete方法会抛出一个COM异常,说MAPI_E_NOT_FOUND。
这就是我如何重现这个:
RDOAppointmentItem
。rdoMasterAppointment.GetRecurrencePattern().GetOccurence(1)
rdoAppointmentOccurrence.Subject = "Changed"; rdoAppointmentOccurrence.Save();
rdoAppointmentOccurrence.Delete()
我在这里做错了吗?