Share via


ImportedFormRegionBase Class

Definition

Represents an Outlook form region that is based on a user control.

public ref class ImportedFormRegionBase abstract : Microsoft::Office::Tools::Outlook::IFormRegion, Microsoft::Office::Tools::Outlook::IImportedFormRegionExtension
public abstract class ImportedFormRegionBase : Microsoft.Office.Tools.Outlook.IFormRegion, Microsoft.Office.Tools.Outlook.IImportedFormRegionExtension
type ImportedFormRegionBase = class
    interface IFormRegion
    interface IImportedFormRegionExtension
    interface IExtension
Public MustInherit Class ImportedFormRegionBase
Implements IFormRegion, IImportedFormRegionExtension
Inheritance
ImportedFormRegionBase
Implements

Remarks

If you add an Outlook Form Region item to an Outlook add-in project, and select Import an Outlook Form Storage (.ofs) file in the first page of the New Outlook Form Region wizard, Visual Studio adds a form region class that inherits from ImportedFormRegionBase.

Usage

This type is used only in Office projects that target the .NET Framework 4 or later. 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.

Constructors

ImportedFormRegionBase(Factory, FormRegion)

Properties

Base

Gets the ImportedFormRegion object that this ImportedFormRegionBase object extends.

Factory

Gets or sets the form region factory that is associated with this ImportedFormRegionBase.

OutlookFormRegion

Gets or sets the native form region object.

OutlookItem

Gets the Microsoft Office Outlook item for which the form region appears.

Methods

GetFormRegionControl(String)

Returns the specified control from the Microsoft.Vbe.Interop.Forms.UserForm of the form region.

InitializeControls()

Initializes the controls on the form region.

Events

FormRegionClosed

Occurs before the form region is closed.

FormRegionShowing

Occurs after an instance of the form region is created but before the form region appears.

Explicit Interface Implementations

IExtension.ExtensionBase
IFormRegion.OnShutdown()
IFormRegion.OnStartup()
IImportedFormRegionExtension.InitializeControls()

Applies to