OutlookAddInBase Class

Provides the base class for the ThisAddIn class in Outlook add-ins that you create by using Visual Studio.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Tools.AddInBase
    Microsoft.Office.Tools.Outlook.OutlookAddInBase

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)

Syntax

'Declaration
Public MustInherit Class OutlookAddInBase _
    Inherits AddInBase
public abstract class OutlookAddInBase : AddInBase

The OutlookAddInBase type exposes the following members.

Constructors

  Name Description
Protected method OutlookAddInBase Infrastructure.

Top

Properties

  Name Description
Public property Base Gets the OutlookAddIn object that this OutlookAddInBase object extends.
Public property BindingContext Infrastructure. (Inherited from AddInBase.)
Public property DataBindings Infrastructure. (Inherited from AddInBase.)
Public property DataHost Infrastructure. (Inherited from AddInBase.)
Public property HostContext Infrastructure. (Inherited from AddInBase.)
Public property ItemProvider Infrastructure. (Inherited from AddInBase.)
Public property Site Infrastructure. (Inherited from AddInBase.)
Public property Tag Infrastructure. (Inherited from AddInBase.)

Top

Methods

  Name Description
Public method BeginInit Infrastructure. (Inherited from AddInBase.)
Protected method CreateRibbonExtensibilityObject Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface. (Inherited from AddInBase.)
Protected method CreateRibbonObjects Returns an array of IRibbonExtension objects to the CreateRibbonExtensibilityObject method. The objects represent the Ribbons to display at run time. (Inherited from AddInBase.)
Public method Dispose Releases the resources used by the AddInBase. (Inherited from AddInBase.)
Public method EndInit Infrastructure. (Inherited from AddInBase.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FinishInitialization Infrastructure. (Inherited from AddInBase.)
Public method GetFormRegions() Infrastructure.
Public method GetFormRegions(Explorer, Type) Infrastructure.
Public method GetFormRegions(Inspector, Type) Infrastructure.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetHostItem<T> Infrastructure. (Inherited from AddInBase.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize Infrastructure. (Inherited from AddInBase.)
Protected method InitializeDataBindings Infrastructure. (Inherited from AddInBase.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnShutdown Infrastructure. (Inherited from AddInBase.)
Protected method OnStartup Infrastructure. (Inherited from AddInBase.)
Protected method RequestComAddInAutomationService Returns an object in your add-in that can be used by other solutions. (Inherited from AddInBase.)
Protected method RequestService Returns an object that extends a feature in a Microsoft Office application. (Inherited from AddInBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event BindingContextChanged Infrastructure. (Inherited from AddInBase.)
Public event Disposed Infrastructure. (Inherited from AddInBase.)
Public event FormRegionFactoryResolve Occurs when the add-in loads, and when a form region name that is specified in the registry does not match the name of any form regions defined in the add-in.
Public event Shutdown Occurs when the add-in is about to be unloaded. (Inherited from AddInBase.)
Public event Startup Occurs when the add-in is loaded, after all the initialization code in the assembly has run. (Inherited from AddInBase.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method EntryPoint.BeginInit Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method EntryPoint.EndInit Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method EntryPoint.FinishInitialization Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method EntryPoint.Initialize Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method EntryPoint.InitializeDataBindings Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method EntryPoint.OnShutdown Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method EntryPoint.OnStartup Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method IAddInExtension.CreateRibbonExtensibilityObject Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method IAddInExtension.CreateRibbonObjects Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method IAddInExtension.RequestComAddInAutomationService Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate method IAddInExtension.RequestService Infrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate property IExtension.ExtensionBase Infrastructure. (Inherited from AddInBase.)

Top

Remarks

The OutlookAddInBase class provides functionality for Outlook add-ins that you create by using the Office Development tools in Visual Studio. The OutlookAddInBase class extends AddInBase class by providing methods that you can use to access form regions in the project. For more information, see Programming Application-Level Add-Ins.

Usage

This type is used only in Office projects that target the .NET Framework 4 and the .NET Framework 4.5. The assembly that defines this type is not part of the Visual Studio Tools for Office runtime. You must deploy this assembly with your solution. For more information, see Assemblies in the Visual Studio Tools for Office Runtime.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Office.Tools.Outlook Namespace