使用下面的代碼片段,我可以獲得第一個匹配的單個addressEntry對象。如何獲取全局地址列表下匹配的addressEntries對象的集合。從全局地址列表收集AddressEntry對象MSDN
Microsoft.Office.Interop.Outlook.Application app = new Outlook.Application();
Outlook.AddressList gal = app.Session.GetGlobalAddressList();
Outlook.AddressEntry entry = gal.AddressEntries[name];
GetContactsFolder?對於全局地址列表? – 2015-03-03 14:03:22
請看第一句。 – 2015-03-03 15:46:40
GetContactsFolder如何適用於GAL?爲什麼OP需要考慮GetContactsFolder,如果它始終爲GAL地址列表返回null? – 2015-03-03 17:21:23