Share via


<formRegion> 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

  • Outlook 2007

The formRegion element of the vstov3 namespace identifies a Microsoft Office Outlook 2007 form region that is associated with an add-in.

<formRegion
    name>
    <messageClass
        name/>
</formRegion>

Elements and Attributes

The formRegion element of the vstov3 namespace identifies a form region that is associated with an Outlook 2007 add-in. It is required only for Outlook 2007 add-ins that include form regions.

There can be multiple formRegion elements defined inside a formRegions element for a single add-in.

The formRegion element has the following attribute.

Attribute

Description

name

Required. Identifies the form region name.

The formRegion element has the following child elements.

messageClass

The messageClass element identifies the Outlook form that is associated with the form region.

The messageClass element has the following attribute.

Attribute

Description

name

Required. Identifies the form that is associated with the form region.

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

Example

The following code example illustrates a formRegion element in an application manifest for an application-level Visual Studio Tools for Office solution deployed using ClickOnce. There are three message classes associated with this one form region. This code example is part of a larger example provided in Application Manifests for Office Solutions (2007 System).

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

See Also

Concepts

Creating Outlook Form Regions

Reference

Application Manifests for Office Solutions (2007 System)

Deployment Manifests for Office Solutions (2007 System)

ClickOnce Application Manifest