Delen via


<formRegions> Element (2007 System)

Note

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

For more information, see Features Available by Application and Project Type.

Project type

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

The formRegions element of the vstov3 namespace contains the Microsoft Office Outlook 2007 form regions that are associated with an add-in.

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

Elements and Attributes

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

Remarks

You can manually edit application and deployment manifests in Visual Studio Tools for Office solutions. Application and deployment manifests must be re-signed by the Manifest Generation and Editing Tool (mage.exe and mageui.exe) after the manifests are edited. Sign the application manifest first and the deployment manifest next. For more information, see Manifest Generation and Editing Tool (Mage.exe) and Manifest Generation and Editing Tool, Graphical Client (MageUI.exe).

Application-Level Add-in Example

Description

The following code example illustrates a formRegions element in an application manifest for an application-level Visual Studio Tools for Office solution deployed using ClickOnce. This code example is part of a larger example provided in Application Manifests for Office Solutions (2007 System).

Code

<vstov3:formRegions>
    <vstov3:formRegion
        name="OutlookAddIn1.FormRegion1">
        <vstov3:messageClass name="IPM.Note" />
        <vstov3:messageClass name="IPM.Contact" />
        <vstov3:messageClass name="IPM.Appointment" />
    </vstov3:formRegion>
</vstov3:formRegions>

See Also

Reference

Application Manifests for Office Solutions (2007 System)

Deployment Manifests for Office Solutions (2007 System)

ClickOnce Application Manifest