Share via


RegisterFormRegions.Execute Method

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

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

Syntax

'Declaration
Public Overrides Function Execute As Boolean
public override bool Execute()

Return Value

Type: System.Boolean
true if the form regions are successfully registered or unregistered; otherwise, false. The default is false.

Implements

ITask.Execute()

Exceptions

Exception Condition
ArgumentNullException

AssemblyName is nulla null reference (Nothing in Visual Basic) or empty.

.NET Framework Security

See Also

Reference

RegisterFormRegions Class

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace