SetOffice2007AddInRegistration.LoadBehavior Property
Gets or sets the load behavior of the add-in being registered.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
<RequiredAttribute> _
Public Property LoadBehavior As Integer
Get
Set
[RequiredAttribute]
public int LoadBehavior { get; set; }
Property Value
Type: System.Int32
An Int32 that represents the load behavior of the add-in being registered.
Remarks
For a list of load behavior values, see Registry Entries for Application-Level Add-Ins.
The LoadBehavior property must be assigned before Execute is called.
.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.