Share via


ImportedFormRegion Interface

Definition

Represents a Microsoft Office Outlook form region that is based on an Outlook Form Storage (*.ofs) file.

public interface class ImportedFormRegion : Microsoft::Office::Tools::Outlook::IFormRegion
[System.Runtime.InteropServices.Guid("EA4CADDC-CFDA-4B89-8546-E793D1A79980")]
public interface ImportedFormRegion : Microsoft.Office.Tools.Outlook.IFormRegion
[<System.Runtime.InteropServices.Guid("EA4CADDC-CFDA-4B89-8546-E793D1A79980")>]
type ImportedFormRegion = interface
    interface IFormRegion
Public Interface ImportedFormRegion
Implements IFormRegion
Attributes
Implements

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 or later. 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: http://go.microsoft.com/fwlink/?LinkId=160658.

Properties

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.

Methods

GetFormRegionControl(String)

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)

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.

Applies to