FormRegionReadOnlyCollection Class

Represents a collection of form regions that are associated with a Microsoft Office Outlook add-in.

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

Syntax

'Declaration
Public Class FormRegionReadOnlyCollection _
    Inherits ReadOnlyCollection(Of IFormRegion)
'Usage
Dim instance As FormRegionReadOnlyCollection
public class FormRegionReadOnlyCollection : ReadOnlyCollection<IFormRegion>

Remarks

When you create an Outlook add-in project, Visual Studio Tools for Office generates two classes that inherit from FormRegionReadOnlyCollection: ThisFormRegionCollection and WindowFormRegionCollection.

You can return an instance of the ThisFormRegionCollection or WindowFormRegionCollection class by using the FormRegions property of the Globals class. For more information, see Accessing a Form Region at Run Time.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.ReadOnlyCollection<IFormRegion>
    Microsoft.Office.Tools.Outlook.FormRegionReadOnlyCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormRegionReadOnlyCollection Members

Microsoft.Office.Tools.Outlook Namespace