IFormRegionFactory Interface
Defines an interface that creates instances of classes that implement IFormRegion.
Namespace: Microsoft.Office.Tools.Outlook
Assemblies: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)
Syntax
'Declaration
<GuidAttribute("0EA930C9-8CAB-4557-89D9-3BE282E4B926")> _
Public Interface IFormRegionFactory
[GuidAttribute("0EA930C9-8CAB-4557-89D9-3BE282E4B926")]
public interface IFormRegionFactory
The IFormRegionFactory type exposes the following members.
Properties
Name | Description | |
---|---|---|
Kind | Gets the type of form region that the factory creates. | |
Manifest | Gets a collection of properties that describe how the form region appears in Microsoft Office Outlook. |
Top
Methods
Name | Description | |
---|---|---|
CreateFormRegion | Returns an instance of a class that implements the IFormRegion interface. | |
GetFormRegionStorage | Returns an Outlook Form Storage (.ofs) file. | |
IsDisplayedForItem | Returns a value that indicates whether the form region should appear for the specified Microsoft Office Outlook item. |
Top
Remarks
The IFormRegionFactory interface defines methods that are used by Microsoft Office Outlook and the Outlook add-in to create instances of classes that implement IFormRegion.
When you add an Outlook Form Region item to an Outlook add-in project, Visual Studio adds a form region factory class to the project that implements the IFormRegionFactory interface.
You can also manually create a form region factory class that implements the IFormRegionFactory interface. If you do this, you must also create a form region class that implements IFormRegion.
Create an instance of the form region class in the CreateFormRegion method of the form region factory class.