ImportedFormRegionBase Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Office.Tools.Outlook.ImportedFormRegionBase

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 ImportedFormRegionBase _
    Implements IFormRegion, IImportedFormRegionExtension, IExtension
public abstract class ImportedFormRegionBase : IFormRegion, 
    IImportedFormRegionExtension, IExtension

The ImportedFormRegionBase type exposes the following members.

Constructors

  Name Description
Public method ImportedFormRegionBase Infrastructure.

Top

Properties

  Name Description
Public property Base Gets the ImportedFormRegion object that this ImportedFormRegionBase object extends.
Public property Factory Gets or sets the form region factory that is associated with this ImportedFormRegionBase.
Public property OutlookFormRegion Gets or sets the native form region object.
Public property OutlookItem Gets the Microsoft Office Outlook item for which the form region appears.

Top

Methods

  Name Description
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 GetFormRegionControl Returns the specified control from the Microsoft.Vbe.Interop.Forms.UserForm of the form region.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method InitializeControls Initializes the controls on the form region.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event FormRegionClosed Occurs before the form region is closed.
Public event FormRegionShowing Occurs after an instance of the form region is created but before the form region appears.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IExtension.ExtensionBase Infrastructure.
Explicit interface implemetationPrivate method IFormRegion.OnShutdown Infrastructure.
Explicit interface implemetationPrivate method IFormRegion.OnStartup Infrastructure.
Explicit interface implemetationPrivate method IImportedFormRegionExtension.InitializeControls Infrastructure.

Top

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 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