共用方式為


FormRegionCustomActionCollection 介面

表示 FormRegionCustomAction 物件的集合。

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

語法

'宣告
<GuidAttribute("6790396a-809d-4175-bc8b-6e9e0c7a3634")> _
Public Interface FormRegionCustomActionCollection _
    Inherits IList(Of FormRegionCustomAction), ICollection(Of FormRegionCustomAction),  _
    IEnumerable(Of FormRegionCustomAction), IEnumerable
[GuidAttribute("6790396a-809d-4175-bc8b-6e9e0c7a3634")]
public interface FormRegionCustomActionCollection : IList<FormRegionCustomAction>, 
    ICollection<FormRegionCustomAction>, IEnumerable<FormRegionCustomAction>, IEnumerable

FormRegionCustomActionCollection 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Count 取得 ICollection<T> 中所包含的元素數。 (繼承自 ICollection<FormRegionCustomAction>)。
公用屬性 IsReadOnly 取得值,指出 ICollection<T> 是否唯讀。 (繼承自 ICollection<FormRegionCustomAction>)。
公用屬性 Item 取得或設定在指定索引的項目。 (繼承自 IList<FormRegionCustomAction>)。
公用屬性 Manifest 基礎架構。取得或設定與這個 FormRegionCustomActionCollection 相關聯的 FormRegionManifest 物件。

回頁首

方法

  名稱 說明
公用方法 Add 將項目加入至 ICollection<T>。 (繼承自 ICollection<FormRegionCustomAction>)。
公用方法 Clear 將所有項目從 ICollection<T> 移除。 (繼承自 ICollection<FormRegionCustomAction>)。
公用方法 Contains(String) 傳回值,指出 FormRegionCustomActionCollection 是否包含具有指定之名稱的 FormRegionCustomAction
公用方法 Contains(T) 判斷 ICollection<T> 是否包含特定值。 (繼承自 ICollection<FormRegionCustomAction>)。
公用方法 CopyTo 從特定的 Array 索引開始,複製 ICollection<T> 項目至 Array。 (繼承自 ICollection<FormRegionCustomAction>)。
公用方法 GetEnumerator 傳回可逐一查看集合的列舉程式。 (繼承自 IEnumerable<FormRegionCustomAction>)。
公用方法 IndexOf 判斷 IList<T> 中特定項目的索引。 (繼承自 IList<FormRegionCustomAction>)。
公用方法 Insert 將項目插入位於指定索引的 IList<T>。 (繼承自 IList<FormRegionCustomAction>)。
公用方法 Remove ICollection<T> 移除特定物件的第一個相符項目。 (繼承自 ICollection<FormRegionCustomAction>)。
公用方法 RemoveAt 移除指定之索引處的 IList<T> 項目。 (繼承自 IList<FormRegionCustomAction>)。

回頁首

備註

FormRegionCustomActionCollection 包含您要顯示在 [自訂動作] 群組 (位於顯示表單區域之 Outlook 項目的功能區上) 中的所有自訂動作。

注意事項注意事項

這個界面是由 Visual Studio Tools for Office Runtime 實作,並不能實作於您的程式碼中。如需詳細資訊,請參閱 Visual Studio Tools for Office Runtime 概觀

使用方式

本文件說明此型別用於以 .NET Framework 4 和 .NET Framework 4.5 為目標之 Office 專案的版本。在以 .NET Framework 3.5 為目標的專案中,此型別可能會有不同的成員,而為此型別提供的程式碼範例可能無法運作。如需此型別在以 .NET Framework 3.5 為目標之專案中的相關文件,請參閱下列 Visual Studio 2008 文件中的參考章節:https://go.microsoft.com/fwlink/?LinkId=160658 (英文)。

請參閱

參考

Microsoft.Office.Tools.Outlook 命名空間