Share via


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

instance.Update()
void Update()
void Update()
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

AddIns Members

EnvDTE Namespace