次の方法で共有


<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 add-in.

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

Elements and Attributes

The formRegions element of the vstov4 namespace contains all the formRegion elements for an Outlook add-in. It is required only for Outlook 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 add-ins that include form regions. The formRegion element is defined in <formRegion> Element (Office Development in Visual Studio).

Application-Level 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>

See Also

Reference

Application Manifests for Office Solutions

Deployment Manifests for Office Solutions

ClickOnce Application Manifest