如何知道是否在预约中修改了某些内容,这是什么? [英] How to know whether something modified in appointment or not and what is that?
本文介绍了如何知道是否在预约中修改了某些内容,这是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
我们在项目中使用VSTO插件来创建约会。
We are using VSTO plugin in our project to create appointment .
我想知道何时有人打开预约并修改subject \time \location \attendee \然后是否修改约会? 如果修改了然后修改了什么? 通过使用约会对象。
I want know when anyone opens appointment and modify subject\time\location\attendee\ then whether appointment modified or not? if modified then what has modified? by using appointment object.
Neeraj
推荐答案
使用AppointmentItem.Saved属性。要确定修改了哪个属性,请挂钩AppointmentItem.PropertyChange事件(属性名称将作为参数传递)。当AppointmentItem.AfterWrite
事件触发时,您需要清除已修改属性的列表。
Use the AppointmentItem.Saved property. To figure out which property was modified, hook up the AppointmentItem.PropertyChange event (the property name will be passed as a parameter). You will need to clear the list of modified properties when AppointmentItem.AfterWrite event fires.
这篇关于如何知道是否在预约中修改了某些内容,这是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文