C# Outlook 插件教程?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1755001/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Outlook Add-In tutorial?
提问by januszstabik
Does anyone know of a good example for getting started with Outlook add-ins using C#?
有谁知道使用 C# 开始使用 Outlook 加载项的好例子吗?
采纳答案by Brij
There are two ways to create such an add-in in VS 2008:
在 VS 2008 中有两种方法可以创建这样的加载项:
- Managed Add-in (File > New Project > Office > Outlook 2007 Add-in)
- Shared Add-in (File > New Project > Other Project Types > EXtensibility > Shared Add-in)
- 托管加载项(文件 > 新建项目 > Office > Outlook 2007 加载项)
- 共享加载项(文件 > 新建项目 > 其他项目类型 > 扩展性 > 共享加载项)
For Managed Add-in:
对于托管加载项:
An example of a Shared Add-in:
共享加载项的示例:
For comparison:
比较:
回答by Daniel Elliott
回答by Tyrant
I recommend the "How Do I" videos on MSDN:
我推荐 MSDN 上的“How Do I”视频:
How do I... (Outlook 2013 developer reference)
Also - get to know the Outlook Object Model
And the difference between Explorerand Inspectorwindows.
此外 - 了解Outlook 对象模型
以及资源管理器和检查器窗口之间的区别。
Along with the other articles, posted, you'll be up and running in no time at all.
连同发布的其他文章,您将立即开始运行。
回答by Tyrant
I also recommend taking a look at Addin Express.
我还建议您查看 Addin Express。
They have a toolset that
他们有一个工具集
- offers more features than out-of-the-box Visual Studio, and
- reduces the amount of required code (i.e. makes it easier).
- 提供比开箱即用的 Visual Studio 更多的功能,以及
- 减少所需代码的数量(即使其更容易)。
Here is an overview of the Add-in Express features for Outlook.