Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Reference
 LoadBehavior Property (2007 System...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Tools for Office API Reference
GenerateOfficeAddInManifest..::.LoadBehavior Property (2007 System)

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)
Visual Basic (Declaration)
<RequiredAttribute> _
Public Property LoadBehavior As Integer
Visual Basic (Usage)
Dim instance As GenerateOfficeAddInManifest
Dim value As Integer

value = instance.LoadBehavior

instance.LoadBehavior = value
C#
[RequiredAttribute]
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 Application-Level Add-Ins.

The LoadBehavior property must be assigned before Execute is called.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker