GenerateOfficeAddInManifest.LoadBehavior Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the load behavior.
public:
property int LoadBehavior { int get(); void set(int value); };
[Microsoft.Build.Framework.Required]
public int LoadBehavior { get; set; }
[<Microsoft.Build.Framework.Required>]
member this.LoadBehavior : int with get, set
Public Property LoadBehavior As Integer
Property Value
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.
- Attributes
Remarks
For a list of load behavior values, see Registry Entries for VSTO Add-ins.
The LoadBehavior property must be assigned before Execute is called.