Share via


IFormRegionFactory Interface

Defines an interface that creates instances of classes that implement IFormRegion.

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.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
Public property Kind Gets the type of form region that the factory creates.
Public property Manifest Gets a collection of properties that describe how the form region appears in Microsoft Office Outlook.

Top

Methods

  Name Description
Public method CreateFormRegion Returns an instance of a class that implements the IFormRegion interface.
Public method GetFormRegionStorage Returns an Outlook Form Storage (.ofs) file.
Public method 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.

See Also

Reference

Microsoft.Office.Tools.Outlook Namespace