AddIns.Update Method

Updates the collection as if the user opened the Add-in Manager dialog box, or sets the object's window layout to the current window layout.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Sub Update
void Update()
void Update()
abstract Update : unit -> unit
function Update()

Remarks

You can save your current window layout in the Visual Studio environment as a named window configuration. The Update method allows you to replace a formerly stored window layout with the current window layout.

Examples

Sub UpdateExample()
   ' Set object references.
   Dim addincoll As AddIns
   Dim addinobj As AddIn
        
   ' Register an add-in.
   addincoll = AddIns
   Shell("regsvr32 F:\AddIns\RegExplore\Debug\regexplore.dll")
   addincoll.Update()
   addinobj = addincoll.Item(1)
End Sub

.NET Framework Security

See Also

Reference

AddIns Interface

EnvDTE Namespace