OutlookAddInBase 类

在您使用 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。)

页首

方法

  名称 说明
公共方法 BeginInit 基础结构。 (继承自 AddInBase。)
受保护的方法 CreateRibbonExtensibilityObject 返回实现 Microsoft.Office.Core.IRibbonExtensibility 接口的对象。 (继承自 AddInBase。)
受保护的方法 CreateRibbonObjects IRibbonExtension 对象的数组返回给 CreateRibbonExtensibilityObject 方法。表示“功能区”要显示运行时间的对象。 (继承自 AddInBase。)
公共方法 Dispose 释放由 AddInBase 占用的资源。 (继承自 AddInBase。)
公共方法 EndInit 基础结构。 (继承自 AddInBase。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
受保护的方法 FinishInitialization 基础结构。 (继承自 AddInBase。)
公共方法 GetFormRegions() 基础结构。
公共方法 GetFormRegions(Explorer, Type) 基础结构。
公共方法 GetFormRegions(Inspector, Type) 基础结构。
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
受保护的方法 GetHostItem<T> 基础结构。 (继承自 AddInBase。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 Initialize 基础结构。 (继承自 AddInBase。)
受保护的方法 InitializeDataBindings 基础结构。 (继承自 AddInBase。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 OnShutdown 基础结构。 (继承自 AddInBase。)
受保护的方法 OnStartup 基础结构。 (继承自 AddInBase。)
受保护的方法 RequestComAddInAutomationService 返回您的外接程序中可以供其他解决方案使用的对象。 (继承自 AddInBase。)
受保护的方法 RequestService 返回一个扩展 Microsoft Office 应用程序中的某项功能的对象。 (继承自 AddInBase。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

事件

  名称 说明
公共事件 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) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Office.Tools.Outlook 命名空间