C#Outlook加载项:如何确定AppointmentItem属于哪个日历? [英] C# Outlook AddIn: How to determine to which calendar an AppointmentItem belongs?

查看:200
本文介绍了C#Outlook加载项:如何确定AppointmentItem属于哪个日历?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想确定AppointmentItem属于哪个日历.

I want to determine to which calendar an AppointmentItem belongs.

情况如下:

交换管理员可以特权为会议室创建约会(只需在会议室日历中创建约会),也可以为自己(在自己的日历中)创建约会.如何确定管理员当前正在查看的项目(检查员)是否来自会议室日历?

An exchange administrator can have privileges to create appointments for conference rooms (by simply creating an appointment in the conference rooms calendar) and for himself (in his own calendar). How do I determine wether the item that the administrator currently looks at (inspector) is from the conference rooms calendar?

非常感谢!

推荐答案

如果是Outlook 2007-2010,则比较AppointmentItem.Parent属性返回的MAPIFolder对象的MAPIFolder.Store.

If this is Outlook 2007-2010, compare MAPIFolder.Store of the MAPIFolder object returned by the AppointmentItem.Parent property.

这篇关于C#Outlook加载项:如何确定AppointmentItem属于哪个日历?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆