This documentation is archived and is not being maintained.

Update Method (General Extensibility)

Visual Studio .NET 2003

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.

[Visual Basic .NET]
Public Sub Update() 
[Visual Basic 6]
Sub Update() 
HRESULT __stdcall Update();
void Update();
[JScript .NET]
public function 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

See Also

WindowConfiguration Creation Example | WindowConfiguration Selection Example

Applies To: AddIns Collection | WindowConfiguration Object