ImportedFormRegion Interface
Represents a Microsoft Office Outlook form region that is based on an Outlook Form Storage (*.ofs) file.
Namespace: Microsoft.Office.Tools.Outlook
Assemblies: Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)
Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
<GuidAttribute("EA4CADDC-CFDA-4B89-8546-E793D1A79980")> _
Public Interface ImportedFormRegion _
Inherits IFormRegion
[GuidAttribute("EA4CADDC-CFDA-4B89-8546-E793D1A79980")]
public interface ImportedFormRegion : IFormRegion
The ImportedFormRegion type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultExtension | Gets the default extension for this ImportedFormRegion object. | |
Extension | Gets a custom extension for this ImportedFormRegion object. | |
Factory | Gets or sets the form region factory that is associated with this ImportedFormRegion. | |
OutlookFormRegion | Gets or sets the native form region object. | |
OutlookItem | Gets the Microsoft Office Outlook item for which the form region appears. |
Top
Methods
Name | Description | |
---|---|---|
_VtblGap1_2 | ||
GetFormRegionControl | Returns the specified control from the Microsoft.Vbe.Interop.Forms.UserForm of the form region. | |
OnShutdown | Occurs before the form region is closed. (Inherited from IFormRegion.) | |
OnStartup | Occurs after an instance of the form region is created but before the form region appears. (Inherited from IFormRegion.) |
Top
Events
Name | Description | |
---|---|---|
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. |
Top
Remarks
Visual Studio generates an instance of a class that implements the ImportedFormRegion interface when you import a form region from Outlook into Visual Studio.
In most cases, you do not have to use this class directly. Instead, you can use the form region class that Visual Studio generates when you import the form region.
The form region class inherits from ImportedFormRegionBase. You can accomplish most tasks related to the form region by using the events and properties in the form region class.
If you want to work with the ImportedFormRegion directly, call the Base property of the ImportedFormRegionBase class.
Note
This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.
Usage
This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 and the .NET Framework 4.5. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: https://go.microsoft.com/fwlink/?LinkId=160658.