Condividi tramite


FormRegionCustomActionCollection Interface

Represents a collection of FormRegionCustomAction objects.

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

Syntax

'Declaration
<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

The FormRegionCustomActionCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<FormRegionCustomAction>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<FormRegionCustomAction>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<FormRegionCustomAction>.)
Public property Manifest Infrastructure. Gets or sets the FormRegionManifest object associated with this FormRegionCustomActionCollection.

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection<T>. (Inherited from ICollection<FormRegionCustomAction>.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<FormRegionCustomAction>.)
Public method Contains(String) Returns a value that indicates whether the FormRegionCustomActionCollection contains the FormRegionCustomAction that has the specified name.
Public method Contains(T) Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<FormRegionCustomAction>.)
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<FormRegionCustomAction>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<FormRegionCustomAction>.)
Public method IndexOf Determines the index of a specific item in the IList<T>. (Inherited from IList<FormRegionCustomAction>.)
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<FormRegionCustomAction>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<FormRegionCustomAction>.)
Public method RemoveAt Removes the IList<T> item at the specified index. (Inherited from IList<FormRegionCustomAction>.)

Top

Remarks

The FormRegionCustomActionCollection contains all of the custom actions that you want to appear in the Custom Actions group on the Ribbon of the Outlook item that displays the form region.

Note

This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.

Usage

This documentation describes the version of this type that is used in Office projects that target the .NET Framework 4 and the .NET Framework 4.5. In projects that target the .NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. For documentation about this type in projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: https://go.microsoft.com/fwlink/?LinkId=160658.

See Also

Reference

Microsoft.Office.Tools.Outlook Namespace