开发者

how to obtain outlook contact group (distribution list )

开发者 https://www.devze.com 2023-03-17 12:47 出处:网络
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 )

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

精彩评论

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