We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

OutlookAddInBase Class

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


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

public abstract class OutlookAddInBase : AddInBase

The OutlookAddInBase type exposes the following members.

Protected methodOutlookAddInBaseInfrastructure.

Public propertyBaseGets the OutlookAddIn object that this OutlookAddInBase object extends.
Public propertyBindingContextInfrastructure. (Inherited from AddInBase.)
Public propertyDataBindingsInfrastructure. (Inherited from AddInBase.)
Public propertyDataHostInfrastructure. (Inherited from AddInBase.)
Public propertyHostContextInfrastructure. (Inherited from AddInBase.)
Public propertyItemProviderInfrastructure. (Inherited from AddInBase.)
Public propertySiteInfrastructure. (Inherited from AddInBase.)
Public propertyTagInfrastructure. (Inherited from AddInBase.)

Public methodBeginInitInfrastructure. (Inherited from AddInBase.)
Protected methodCreateRibbonExtensibilityObjectReturns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface. (Inherited from AddInBase.)
Protected methodCreateRibbonObjectsReturns an array of IRibbonExtension objects to the CreateRibbonExtensibilityObject method. The objects represent the Ribbons to display at run time. (Inherited from AddInBase.)
Public methodDisposeReleases the resources used by the AddInBase. (Inherited from AddInBase.)
Public methodEndInitInfrastructure. (Inherited from AddInBase.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodFinishInitializationInfrastructure. (Inherited from AddInBase.)
Public methodGetFormRegions()Infrastructure.
Public methodGetFormRegions(Explorer, Type)Infrastructure.
Public methodGetFormRegions(Inspector, Type)Infrastructure.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Protected methodGetHostItem<T>Infrastructure. (Inherited from AddInBase.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeInfrastructure. (Inherited from AddInBase.)
Protected methodInitializeDataBindingsInfrastructure. (Inherited from AddInBase.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnShutdownInfrastructure. (Inherited from AddInBase.)
Protected methodOnStartupInfrastructure. (Inherited from AddInBase.)
Protected methodRequestComAddInAutomationServiceReturns an object in your add-in that can be used by other solutions. (Inherited from AddInBase.)
Protected methodRequestServiceReturns an object that extends a feature in a Microsoft Office application. (Inherited from AddInBase.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventBindingContextChangedInfrastructure. (Inherited from AddInBase.)
Public eventDisposedInfrastructure. (Inherited from AddInBase.)
Public eventFormRegionFactoryResolveOccurs 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 eventShutdownOccurs when the add-in is about to be unloaded. (Inherited from AddInBase.)
Public eventStartupOccurs when the add-in is loaded, after all the initialization code in the assembly has run. (Inherited from AddInBase.)

Explicit interface implemetationPrivate methodEntryPoint.BeginInitInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodEntryPoint.EndInitInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodEntryPoint.FinishInitializationInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodEntryPoint.InitializeInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodEntryPoint.InitializeDataBindingsInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodEntryPoint.OnShutdownInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodEntryPoint.OnStartupInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodIAddInExtension.CreateRibbonExtensibilityObjectInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodIAddInExtension.CreateRibbonObjectsInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodIAddInExtension.RequestComAddInAutomationServiceInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate methodIAddInExtension.RequestServiceInfrastructure. (Inherited from AddInBase.)
Explicit interface implemetationPrivate propertyIExtension.ExtensionBaseInfrastructure. (Inherited from AddInBase.)

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.


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.

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