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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 20:31:24  来源:igfitidea点击:

Outlook Add-In tutorial?

c#visual-studiooutlook-addin

提问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 中有两种方法可以创建这样的加载项:

  1. Managed Add-in (File > New Project > Office > Outlook 2007 Add-in)
  2. Shared Add-in (File > New Project > Other Project Types > EXtensibility > Shared Add-in)
  1. 托管加载项(文件 > 新建项目 > Office > Outlook 2007 加载项)
  2. 共享加载项(文件 > 新建项目 > 其他项目类型 > 扩展性 > 共享加载项)

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)

我如何...(Outlook 2013 开发人员参考)

Forms (Outlook How Do I)

表格(Outlook How Do I)

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

他们有一个工具集

  1. offers more features than out-of-the-box Visual Studio, and
  2. reduces the amount of required code (i.e. makes it easier).
  1. 提供比开箱即用的 Visual Studio 更多的功能,以及
  2. 减少所需代码的数量(即使其更容易)。

Here is an overview of the Add-in Express features for Outlook.

以下是Outlook 的 Add-in Express 功能概述