다음을 통해 공유


RegisterFormRegions Class

Definition

Defines an MSBuild task that gathers form region information to register or unregister the form regions for Microsoft Office Outlook 2007. This class cannot be inherited.

public ref class RegisterFormRegions sealed : Microsoft::VisualStudio::Tools::Office::BuildTasks::BuildTask
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class RegisterFormRegions : Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
[<System.Runtime.InteropServices.ComVisible(false)>]
type RegisterFormRegions = class
    inherit BuildTask
Public NotInheritable Class RegisterFormRegions
Inherits BuildTask
Inheritance
RegisterFormRegions
Attributes

Remarks

Set all of the RegisterFormRegions properties, and then call Execute to run this build task.

The Microsoft Build Engine uses Microsoft.VisualStudio.Tools.Office.BuildTasks to build and deploy Office solutions. However, you can create your own build system by using these classes and the MSBuild XML-based project files. For more information, see MSBuild Reference.

Constructors

RegisterFormRegions()

Initializes a new instance of the RegisterFormRegions class.

Properties

AddInName

Gets or sets the name of the add-in.

AssemblyName

Gets or sets the name of the assembly.

FormRegionNamesAndMessageClasses

Gets or sets an array of ITaskItem objects that represent the form region names and message classes.

OfficeApplication

Gets or sets the name of the Microsoft Office application for which the form regions are being registered.

Unregister

Gets or sets a value that indicates whether Execute() will uninstall the form regions.

Methods

Execute()

Gathers form region information to register the form regions for application loading, or unregister them to uninstall the form regions.

Applies to