共用方式為


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

.NET Framework Security

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace

ToolboxItemSelected