简体   繁体   English

VSTO Outlook加载项:VSTO API严重支持Office 365组Outlook Explorer

[英]VSTO Outlook add-in: Office 365 groups Outlook explorer badly supported by VSTO API

My VSTO Outlook add-in should interact with the recent Office 365 groups Outlook explorer and based on my initial tests the VSTO API is not providing the expected results. 我的VSTO Outlook加载项应与最近的Office 365组Outlook资源管理器进行交互,根据我的初步测试,VSTO API无法提供预期的结果。

For example, when from a group's explorer window I select an existing conversation I would expect to have that conversation (or the last mailitem in that conversation) returned by the Selection property on the ActiveExplorer object but the count of selected items is always zero. 例如,当从组的浏览器窗口中选择一个现有对话时,我希望该对话(或该对话中的最后一个邮件项)由ActiveExplorer对象的Selection属性返回,但所选项目的计数始终为零。 Is there a way of discovering the selected conversation(s)? 有没有发现所选对话的方法?

Also, when adding a message to an existing conversation, is there are way of knowing what mailitem you are replying to? 另外,在向现有对话中添加消息时,是否有办法知道您要回复的邮件项目?

VSTO, nor the Outlook object model, doesn't provide anything for that. VSTO或Outlook对象模型都没有为此提供任何功能。 You may try to use Windows API functions, but there is no trivial to get the job done. 您可以尝试使用Windows API函数,但要完成这项工作并不容易。

Feel free to leave your feedback at https://outlook.uservoice.com/ . 随时在https://outlook.uservoice.com/上留下您的反馈。

Unfortunately the Outlook Object Model doesn't currently have any integration with Office 365 Groups. 不幸的是,Outlook对象模型当前与Office 365组没有任何集成。 Selection.GetSelection won't work because the view does not support the traditional Conversations view. Selection.GetSelection将不起作用,因为该视图不支持传统的“对话”视图。 Selection.Item doesn't work either. Selection.Item也不起作用。 The only way to get access to items in a Groups folder is via Folder.Items, but you still can't get access to the selection. 访问Groups文件夹中项目的唯一方法是通过Folder.Items,但是您仍然无法访问所选内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM