我正在创建 Outlook 加载项,但在使用 vb.net 进入共享文件夹时遇到问题。
我努力了
contactsFolder = ns.Folders.Item("Shared Contacts")
和
contactsFolder = ns.Folders.Item("Public Folders")
仍然无法访问它。有人能帮助我吗。我不断收到错误:
The attempted operation failed. An object could not be found.
我正在创建 Outlook 加载项,但在使用 vb.net 进入共享文件夹时遇到问题。
我努力了
contactsFolder = ns.Folders.Item("Shared Contacts")
和
contactsFolder = ns.Folders.Item("Public Folders")
仍然无法访问它。有人能帮助我吗。我不断收到错误:
The attempted operation failed. An object could not be found.
由于您使用的是共享文件夹,因此该文件夹不得存在于默认 Store. 您可能需要枚举Session.Stores( ns.Stores)。有关代码示例,请参阅相关的 SO 帖子。