Freigeben über


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
Assemblies:   Microsoft.Office.Tools.Outlook.v4.0.Utilities (in Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("787FA642-2A27-4626-84A9-EED0B47FA4A6")> _
Public Interface Factory _
    Inherits Factory
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("787FA642-2A27-4626-84A9-EED0B47FA4A6")]
public interface Factory : Factory

The Factory type exposes the following members.

Methods

  Name Description
Public method _VtblGap1_1 Infrastructure.
Public method CreateAddIn Infrastructure. (Inherited from Factory.)
Public method CreateCustomTaskPaneCollection Infrastructure. (Inherited from Factory.)
Public method CreateFormRegionCollection Creates an IList<T> of IFormRegion objects.
Public method CreateFormRegionControl Creates a an instance of a class that implements the FormRegionControl interface.
Public method CreateFormRegionCustomAction() Creates an instance of a class that implements the FormRegionCustomAction interface with a default name.
Public method CreateFormRegionCustomAction(String) Creates an instance of a class that implements the FormRegionCustomAction class by using the specified name.
Public method CreateFormRegionInitializingEventArgs Creates a FormRegionInitializingEventArgs object that provides data for the FormRegionInitializing event of the form region factory class.
Public method CreateFormRegionManifest Creates a form region manifest that describes how the form region appears in Outlook.
Public method CreateImportedFormRegion Creates a Microsoft Office Outlook form region that is based on an Outlook Form Storage (*.ofs) file.
Public method CreateSmartTagCollection Infrastructure. (Inherited from Factory.)
Public method GetRibbonFactory Returns an object that you can use to create Ribbon controls at run time. (Inherited from Factory.)

Top

Remarks

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

See Also

Reference

Microsoft.Office.Tools.Outlook Namespace