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() 
[C++]
HRESULT __stdcall Update();
[C#]
void Update();
[JScript .NET]
public 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.

Example

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

See Also

WindowConfiguration Creation Example | WindowConfiguration Selection Example

Applies To: AddIns Collection | WindowConfiguration Object

Show: