iCloud未出现在Outlook.MAPIFolder中 [英] iCloud does not appear in Outlook.MAPIFolder

查看:86
本文介绍了iCloud未出现在Outlook.MAPIFolder中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在"Contacts - iCloud"中访问我的联系人。在Outlook 2010(联系人区域)


当我使用以下代码时,在Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)


" Outlook.OlDefaultFolders.olFolderContacts。 iCloud "不会出现,所以我无法访问这些联系人.....为什么......


 


'创建Outlook应用程序。 
Dim oApp As Outlook.Application = New Outlook.Application

'获取命名空间和联系人文件夹参考。
Dim oNS As Outlook.NameSpace = oApp.GetNamespace(" MAPI")
'用于获取默认的"联系人""文件夹
Dim MyFolder As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)

解决方案

您好,


办公室的Visual Studio工具可能是您提问的最佳位置。


< a href ="http://social.msdn.microsoft.com/Forums/en/vsto"rel ="nofollow"> http://social.msdn.microsoft.com/Forums/en/vsto


I would like to access my contacts in the "Contacts - iCloud" in Outlook 2010 (Contacts area)

when i use the following code, in the Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)

"Outlook.OlDefaultFolders.olFolderContacts.iCloud" does not come up, so i can not access those contacts..... WHY......

 

' Create Outlook application.
        Dim oApp As Outlook.Application = New Outlook.Application

        ' Get namespace and Contacts folder reference.
        Dim oNS As Outlook.NameSpace = oApp.GetNamespace("MAPI")
           ' used to get the default "contacts" folder
        Dim MyFolder As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)

解决方案

Hello,

Probably the Visual Studio Tools for office is a better place for your question.

http://social.msdn.microsoft.com/Forums/en/vsto


这篇关于iCloud未出现在Outlook.MAPIFolder中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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