次の方法で共有


IFormRegionFactory Interface

Definition

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

public interface class IFormRegionFactory
[System.Runtime.InteropServices.Guid("0EA930C9-8CAB-4557-89D9-3BE282E4B926")]
public interface IFormRegionFactory
[<System.Runtime.InteropServices.Guid("0EA930C9-8CAB-4557-89D9-3BE282E4B926")>]
type IFormRegionFactory = interface
Public Interface IFormRegionFactory
Attributes

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.

Properties

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.

Methods

CreateFormRegion(FormRegion)

Returns an instance of a class that implements the IFormRegion interface.

GetFormRegionStorage(Object, OlFormRegionMode, OlFormRegionSize)

Returns an Outlook Form Storage (.ofs) file.

IsDisplayedForItem(Object, OlFormRegionMode, OlFormRegionSize)

Returns a value that indicates whether the form region should appear for the specified Microsoft Office Outlook item.

Applies to