如何使用 Microsoft VSTO 界面?
我想为 microsoft Outlook 创建一个插件,并使用 Visual Studio 工具来执行此操作。
然而,我真的很难理解 VSTO 环境中接口的使用 - MSDN 上的资源显示了许多看起来有用的接口,但我不确定如何使用这些接口来访问数据。例如,我试图将一个新文件夹添加到 IMAP 帐户中,但发现很难弄清楚如何让 Outlook 执行此操作。
任何人都可以推荐任何学习如何使用 VSTO 的好资源吗(我有针对傻瓜的 VSTO,但它没有涵盖我需要的详细程度,我一直在使用 MSDN,但我发现它没有提供太多关于如何使用 VSTO 的信息)使用接口等)
I would like to create an addin for microsoft outlook, and am using the visual studio tools to do so.
However I am really struggling to get my head around the use of interfaces within the VSTO environment - the resources on MSDN show many useful looking interfaces, but I am unsure how to use these interfaces to access data. For example I am trying to add a new folder into an IMAP account but am finding it very difficult to work out how to get outlook to do so.
Can anyone recommend any good resources for learning how to use VSTO (I have VSTO for dummies, but it doesn't cover the level of detail I need, I have been using MSDN, but I have found it doesnt offer much information on how to use the interfaces etc.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您查看 Eric Carter + Eric Lippert 所著的书“Visual Studio Tools for Office 2007: VSTO for Excel, Word, and Outlook”。它涵盖了 VSTO 2007,而不是 2010,但它对 3 个主要 Office 应用程序中的每一个应用程序的对象模型进行了全面的概述,并对界面进行了一些很好的解释。
http://www.amazon.com/Visual-Studio-Tools-Office-2007/ dp/0321533216
I suggest checking out the book by Eric Carter + Eric Lippert, "Visual Studio Tools for Office 2007: VSTO for Excel, Word, and Outlook". It covers VSTO 2007, and not 2010, but it gives a solid overview of the object model for each of the 3 major Office applications, and has some good explanations on the interfaces.
http://www.amazon.com/Visual-Studio-Tools-Office-2007/dp/0321533216