更新:2007 年 11 月
表示以使用者控制項為基礎的 Outlook 表單區域。
命名空間: Microsoft.Office.Tools.Outlook
組件: Microsoft.Office.Tools.Outlook.v9.0 (在 Microsoft.Office.Tools.Outlook.v9.0.dll 中)
語法
Public Class FormRegionControl _
Inherits UserControl _
Implements IFormRegion
Dim instance As FormRegionControl
public class FormRegionControl : UserControl,
IFormRegion
備註
如果您將 [Outlook 表單區域] 項目加入至 Outlook 增益集專案,並選取 [新的 Outlook 表單區域] 精靈第一頁中的 [設計新的表單區域],則 Visual Studio Tools for Office 就會加入繼承自 FormRegionControl 的表單區域類別。
您也可以手動建立繼承自 FormRegionControl 的表單區域類別。如果您手動建立表單區域類別,就必須建立實作 IFormRegionFactory 介面的表單區域 Factory 類別。在表單區域 Factory 類別的 CreateFormRegion 方法中,建立表單區域類別的執行個體。
繼承階層架構
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Microsoft.Office.Tools.Outlook.FormRegionControl
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。