ImportedFormRegionBase Class

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


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 ImportedFormRegionBase : IFormRegion, 
	IImportedFormRegionExtension, IExtension

The ImportedFormRegionBase type exposes the following members.

Public methodImportedFormRegionBaseInfrastructure.

Public propertyBaseGets the ImportedFormRegion object that this ImportedFormRegionBase object extends.
Public propertyFactoryGets or sets the form region factory that is associated with this ImportedFormRegionBase.
Public propertyOutlookFormRegionGets or sets the native form region object.
Public propertyOutlookItemGets the Microsoft Office Outlook item for which the form region appears.

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 methodGetFormRegionControlReturns the specified control from the Microsoft.Vbe.Interop.Forms.UserForm of the form region.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeControlsInitializes the controls on the form region.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventFormRegionClosedOccurs before the form region is closed.
Public eventFormRegionShowingOccurs after an instance of the form region is created but before the form region appears.

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.


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

Community Additions