Outlook AddIn - 确定是否已发送约会项目

时间:2013-07-16 14:56:22

标签: c# outlook add-in appointment

我有一个Outlook 2010 C#AddIn,我有问题要找出是否已经发送了AppointmentItem。

有人可以帮忙吗?

2 个答案:

答案 0 :(得分:1)

您需要使用AppointmentItem.PropertyAccessor.GetProperty检查以下命名属性是否设置为true

{00062002-0000-0000-C000-000000000046},0x8229,PT_BOOLEAN

DASL名称为http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/8229000B

答案 1 :(得分:0)

添加这个答案只是因为@Dmitry的评论错过了一个“/”作为评论部分明显限制完全处理语法的结果 -

bool wasSent = AppointmentItem.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/8229000B");

这个答案对我有帮助!

相关问题