ModelingPackage.OnToolboxUpgraded Method
Event handler for ToolboxUpgraded event The dynamic/custom toolbox items will be re-registered.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaración
Protected Overridable Sub OnToolboxUpgraded ( _
sender As Object, _
e As EventArgs _
)
protected virtual void OnToolboxUpgraded(
Object sender,
EventArgs e
)
protected:
virtual void OnToolboxUpgraded(
Object^ sender,
EventArgs^ e
)
abstract OnToolboxUpgraded :
sender:Object *
e:EventArgs -> unit
override OnToolboxUpgraded :
sender:Object *
e:EventArgs -> unit
protected function OnToolboxUpgraded(
sender : Object,
e : EventArgs
)
Parameters
- sender
Type: System.Object
- e
Type: System.EventArgs
Remarks
Calls SetupDynamicToolbox
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.