We recommend using Visual Studio 2017

<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 an VSTO Add-in.

<formRegions>  
  <formRegion>  
  </formRegion>  
</formRegions>  

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).

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>  

Application Manifests for Office Solutions
Deployment Manifests for Office Solutions
ClickOnce Application Manifest

Show: