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.
Gets or sets the load behavior.
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
'Usage
Dim instance As GenerateOfficeAddInManifest
Dim value As Integer
value = instance.LoadBehavior
instance.LoadBehavior = value
[RequiredAttribute]
public int LoadBehavior { get; set; }
[RequiredAttribute]
public:
property int LoadBehavior {
int get ();
void set (int value);
}
public function get LoadBehavior () : int
public function set LoadBehavior (value : int)
Property Value
Type: System.Int32
An Int32 that specifies the load behavior. If the value is 2, the add-in is disconnected or disabled. If the value is 3, the add-in is enabled.
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.
See Also
Reference
GenerateOfficeAddInManifest Class