RegisterFormRegions Class

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.

Namespace:   Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.VisualStudio.Tools.Office.BuildTasks.BuildTask
      Microsoft.VisualStudio.Tools.Office.BuildTasks.RegisterFormRegions

[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class RegisterFormRegions : BuildTask

NameDescription
System_CAPS_pubmethodRegisterFormRegions()

Initializes a new instance of the RegisterFormRegions class.

NameDescription
System_CAPS_pubpropertyAddInName

Gets or sets the name of the add-in.

System_CAPS_pubpropertyAssemblyName

Gets or sets the name of the assembly.

System_CAPS_pubpropertyBuildEngine

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

(Inherited from Task.)

System_CAPS_pubpropertyFormRegionNamesAndMessageClasses

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

System_CAPS_pubpropertyHostObject

(Inherited from Task.)

System_CAPS_pubpropertyLog

(Inherited from Task.)

System_CAPS_pubpropertyOfficeApplication

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

System_CAPS_pubpropertyUnregister

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Gathers form region information to register the form regions for application loading, or unregister them to uninstall the form regions. (Overrides Task.Execute().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

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

Return to top
Show:
© 2016 Microsoft