<formRegions> element (Office development in Visual Studio)
The formRegions
element of the vstov4
namespace contains the Microsoft Office Outlook form regions that are associated with a VSTO Add-in.
Syntax
<formRegions>
<formRegion>
</formRegion>
</formRegions>
Elements and attributes
The formRegions
element of the vstov4
namespace contains all the formRegion
elements for an Outlook VSTO Add-in. It is required only for Outlook VSTO Add-ins that include form regions.
There can be only one formRegions
element defined in an application manifest.
The formRegions
element has no attributes.
The formRegions
element has the following element.
formRegion
Required for Outlook VSTO Add-ins that include form regions. The formRegion
element is defined in <formRegion> element (Office development in Visual Studio).
VSTO Add-in example
Description
The following code example illustrates a formRegions
element in an application manifest for an application-level Office solution deployed using ClickOnce. This code example is part of a larger example provided in Application manifests for Office solutions.
Code
<vstov4:formRegions>
<vstov4:formRegion
name="OutlookAddIn1.FormRegion1">
<vstov4:messageClass name="IPM.Note" />
<vstov4:messageClass name="IPM.Contact" />
<vstov4:messageClass name="IPM.Appointment" />
</vstov4:formRegion>
</vstov4:formRegions>