开发者

how to obtain outlook contact group (distribution list )

i'm going to create an add-in for outlook 2007

in this add-in i need to retrieve the list of contact (with all details ) in that group

how can i do that .

Re开发者_如何学Pythongards ,


Try the following,

This is for getting the Details from GAL

Outlook.ExchangeUser objExUser=objAddressEntry.GetExchangeUser();
string FirstName=objExUser.FirstName;
string LastName=objExUser.LastName;

This is for getting details from Contacts

Outlook.ContactItem objItem= objAddressEntry.GetContact();
string FirstName=objItem.FirstName;
string LastName=objItem.LastName
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜