Export (0) Print
Expand All

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)

void Update()

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.

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")
   addinobj = addincoll.Item(1)
End Sub

© 2015 Microsoft