Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As RegisterFormRegions
Dim returnValue As Boolean
returnValue = instance.Execute()
public override bool Execute()
public:
virtual bool Execute() override
public override function Execute() : boolean
Return Value
Type: System.Boolean
true if the form regions are successfully registered or unregistered; otherwise, false. The default is false.
Implements
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | AssemblyName is nulla null reference (Nothing in Visual Basic) or empty. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.