在您使用 Visual Studio 创建的 Outlook 应用程序级外接程序中为 ThisAddIn 类提供基类。
继承层次结构
System.Object
Microsoft.Office.Tools.AddInBase
Microsoft.Office.Tools.Outlook.OutlookAddInBase
命名空间: Microsoft.Office.Tools.Outlook
程序集: Microsoft.Office.Tools.Outlook.v4.0.Utilities(在 Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll 中)
语法
声明
Public MustInherit Class OutlookAddInBase _
Inherits AddInBase
public abstract class OutlookAddInBase : AddInBase
OutlookAddInBase 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
OutlookAddInBase | 基础结构。 |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Base | 获取此 OutlookAddInBase 对象扩展的 OutlookAddIn 对象。 |
![]() |
BindingContext | 基础结构。 (继承自 AddInBase。) |
![]() |
DataBindings | 基础结构。 (继承自 AddInBase。) |
![]() |
DataHost | 基础结构。 (继承自 AddInBase。) |
![]() |
HostContext | 基础结构。 (继承自 AddInBase。) |
![]() |
ItemProvider | 基础结构。 (继承自 AddInBase。) |
![]() |
Site | 基础结构。 (继承自 AddInBase。) |
![]() |
Tag | 基础结构。 (继承自 AddInBase。) |
页首
方法
页首
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
BindingContextChanged | 基础结构。 (继承自 AddInBase。) |
![]() |
Disposed | 基础结构。 (继承自 AddInBase。) |
![]() |
FormRegionFactoryResolve | 在加载外接程序时,以及在注册表中指定的窗体区域名与在外接程序中定义的任何窗体区域名不匹配时发生。 |
![]() |
Shutdown | 当外接程序即将卸载时发生。 (继承自 AddInBase。) |
![]() |
Startup | 在加载外接程序、且程序集中的所有初始化代码都已运行时发生。 (继承自 AddInBase。) |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
EntryPoint.BeginInit | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
EntryPoint.EndInit | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
EntryPoint.FinishInitialization | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
EntryPoint.Initialize | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
EntryPoint.InitializeDataBindings | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
EntryPoint.OnShutdown | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
EntryPoint.OnStartup | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
IAddInExtension.CreateRibbonExtensibilityObject | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
IAddInExtension.CreateRibbonObjects | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
IAddInExtension.RequestComAddInAutomationService | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
IAddInExtension.RequestService | 基础结构。 (继承自 AddInBase。) |
![]() ![]() |
IExtension.ExtensionBase | 基础结构。 (继承自 AddInBase。) |
页首
备注
OutlookAddInBase 类提供您使用 Visual Studio 中的 Office 开发工具创建的 Outlook 外接程序的功能。 OutlookAddInBase 类通过提供可让您用于访问项目中窗体区域的方法来扩展 AddInBase 类。 有关更多信息,请参见 应用程序级外接程序编程。
用法
此类型只能在面向 .NET Framework 4 的 Office 项目中使用。定义此类型的程序集不属于 Visual Studio Tools for Office Runtime 的一部分。您必须与解决方案一起部署此程序集。有关更多信息,请参见 Visual Studio Tools for Office Runtime 中的程序集。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)