ModelingPackage.OnToolboxInitialized Method
Event handler for ToolboxInitialized 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
'Declaration
Protected Overridable Sub OnToolboxInitialized ( _
sender As Object, _
e As EventArgs _
)
protected virtual void OnToolboxInitialized(
Object sender,
EventArgs e
)
protected:
virtual void OnToolboxInitialized(
Object^ sender,
EventArgs^ e
)
abstract OnToolboxInitialized :
sender:Object *
e:EventArgs -> unit
override OnToolboxInitialized :
sender:Object *
e:EventArgs -> unit
protected function OnToolboxInitialized(
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.