简体   繁体   English

C#VSTO Outlook 2003 GetExchangeUser

[英]C# VSTO Outlook 2003 GetExchangeUser

in my Outlook 2007 addin this code opens modal dialog box about user details (method Details(0) open this dialog) and works good: 在我的Outlook 2007插件中,此代码打开有关用户详细信息的模式对话框(方法Details(0)打开此对话框),并且效果很好:

this.Application.GetNamespace("MAPI").AddressLists["Global Address List"].AddressEntries["USER NAME"].GetExchangeUser().Details(0);

But in Outlook 2003, there is no GetExchangeUser().Details(0); 但是在Outlook 2003中,没有GetExchangeUser().Details(0);

How to open modal dialog by contact name ? 如何按联系人姓名打开模式对话框?

好的,我找到了解决方案:

this.Application.GetNamespace("MAPI").AddressLists["Global Address List"].AddressEntries["USER NAME"].Details(0);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM