Dela via


SetOffice2007AddInRegistration.LoadBehavior Property (2007 System)

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
'Usage
Dim instance As SetOffice2007AddInRegistration 
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 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

See Also

Reference

SetOffice2007AddInRegistration Class

SetOffice2007AddInRegistration Members

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace