GenerateOfficeAddInManifest.LoadBehavior Property


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)

public int LoadBehavior { get; set; }

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.

For a list of load behavior values, see Registry Entries for VSTO Add-ins.

The LoadBehavior property must be assigned before Execute is called.

Return to top