RegisterFormRegions Class
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.
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Microsoft.Build.Utilities::Task
Microsoft.VisualStudio.Tools.Office.BuildTasks::BuildTask
Microsoft.VisualStudio.Tools.Office.BuildTasks::RegisterFormRegions
| Name | Description | |
|---|---|---|
![]() | RegisterFormRegions() | Initializes a new instance of the RegisterFormRegions class. |
| Name | Description | |
|---|---|---|
![]() | AddInName | Gets or sets the name of the add-in. |
![]() | AssemblyName | Gets or sets the name of the assembly. |
![]() | BuildEngine | (Inherited from Task.) |
![]() | BuildEngine2 | (Inherited from Task.) |
![]() | BuildEngine3 | (Inherited from Task.) |
![]() | BuildEngine4 | (Inherited from Task.) |
![]() | FormRegionNamesAndMessageClasses | Gets or sets an array of ITaskItem objects that represent the form region names and message classes. |
![]() | HostObject | (Inherited from Task.) |
![]() | Log | (Inherited from Task.) |
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Execute() | Gathers form region information to register the form regions for application loading, or unregister them to uninstall the form regions. (Overrides Task::Execute().) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

