ModelingDocView.OnToolboxItemSelected Method
When a user clicks an item in the Toolbox, calls ToolboxItemSelected.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
‘선언
Protected Overridable Sub OnToolboxItemSelected ( _
data As IDataObject _
)
protected virtual void OnToolboxItemSelected(
IDataObject data
)
protected:
virtual void OnToolboxItemSelected(
IDataObject^ data
)
abstract OnToolboxItemSelected :
data:IDataObject -> unit
override OnToolboxItemSelected :
data:IDataObject -> unit
protected function OnToolboxItemSelected(
data : IDataObject
)
Parameters
- data
Type: System.Windows.Forms.IDataObject
The item in the Toolbox.
.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.