Share via


Factory 介面

提供您可以用於在 Outlook 增益集中執行其他工作 (例如建立表單區域控制項、表單區域資訊清單物件和自訂動作) 的方法。

命名空間:  Microsoft.Office.Tools.Outlook
組件:  Microsoft.Office.Tools.Outlook (在 Microsoft.Office.Tools.Outlook.dll 中)

語法

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

Factory 型別會公開下列成員。

方法

  名稱 說明
公用方法 CreateAddIn 基礎架構。 (繼承自 Factory)。
公用方法 CreateCustomTaskPaneCollection 基礎架構。 (繼承自 Factory)。
公用方法 CreateFormRegionCollection 建立 IFormRegion 物件的 IList<T>
公用方法 CreateFormRegionControl 建立實作 FormRegionControl 介面之類別的執行個體。
公用方法 CreateFormRegionCustomAction() 以預設名稱建立實作 FormRegionCustomAction 介面之類別的執行個體。
公用方法 CreateFormRegionCustomAction(String) 使用指定的名稱建立實作 FormRegionCustomAction 介面之類別的執行個體。
公用方法 CreateFormRegionInitializingEventArgs 建立 FormRegionInitializingEventArgs 物件,這個物件會提供表單區域 Factory 類別的 FormRegionInitializing 事件資料。
公用方法 CreateFormRegionManifest 建立表單區域資訊清單,描述表單區域在 Outlook 中的顯示方式。
公用方法 CreateImportedFormRegion 建立以 Outlook 表單儲存區 (*.ofs) 檔案為基礎的 Microsoft Office Outlook 表單區域。
公用方法 CreateSmartTagCollection 基礎架構。 (繼承自 Factory)。
公用方法 GetRibbonFactory 傳回您在執行階段可用來建立功能區控制項的物件。 (繼承自 Factory)。

回頁首

備註

若要取得 Factory 物件,請在專案中使用 Globals.Factory 屬性。 如需詳細資訊,請參閱全域存取 Office 專案中的物件

請參閱

參考

Microsoft.Office.Tools.Outlook 命名空間