共用方式為


FormRegionType Enumeration

Specifies the way the form region appears in Microsoft Office Outlook.

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)

Syntax

'Declaration
Public Enumeration FormRegionType
public enum FormRegionType

Members

Member name Description
Adjoining Appends the form region to the bottom of an Outlook form's default page.
ReplaceAll Replaces the whole Outlook form with the form region.
Replacement Adds the form region as a new page that replaces the default page of an Outlook form.
Separate Adds the form region as a new page in an Outlook form.

Remarks

To specify what type of form region you want to appear, set the FormRegionType property of the FormRegionManifest interface to one of these enumeration values.

Note

You can only set this property before Outlook retrieves the form region manifest from the Outlook add-in.

If you design the form region in Visual Studio by dragging controls onto the visual designer, you can specify one of these enumeration values in the Properties window.

If you import a form region that was designed in Outlook, you can change form region properties in the InitializeManifest method of the form region factory class. For more information, see Creating Outlook Form Regions.

See Also

Reference

Microsoft.Office.Tools.Outlook Namespace