Factory Interface

Factory Interface


Provides methods you can use to perform miscellaneous tasks in an Outlook add-in, such as creating form region controls, form region manifest objects, and custom actions.

Namespace:   Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)

public interface Factory : Factory


Creates an IList<T> of IFormRegion objects.

System_CAPS_pubmethodCreateFormRegionControl(FormRegion, IExtension)

Creates a an instance of a class that implements the FormRegionControl interface.


Creates an instance of a class that implements the FormRegionCustomAction interface with a default name.


Creates an instance of a class that implements the FormRegionCustomAction class by using the specified name.

System_CAPS_pubmethodCreateFormRegionInitializingEventArgs(Object, OlFormRegionMode, OlFormRegionSize, Boolean)

Creates a FormRegionInitializingEventArgs object that provides data for the FormRegionInitializing event of the form region factory class.


Creates a form region manifest that describes how the form region appears in Outlook.

System_CAPS_pubmethodCreateImportedFormRegion(FormRegion, IImportedFormRegionExtension)

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


Returns an object that you can use to create Ribbon controls at run time.(Inherited from Factory.)

To get a Factory object, use the Globals.Factory property in your project. For more information, see Global Access to Objects in Office Projects.

Return to top
© 2015 Microsoft