Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overridable Function OnToolboxItemSelected ( _
    toolboxItem As ModelingToolboxItem _
) As Boolean
public virtual bool OnToolboxItemSelected(
    ModelingToolboxItem toolboxItem
)
public:
virtual bool OnToolboxItemSelected(
    ModelingToolboxItem^ toolboxItem
)
abstract OnToolboxItemSelected : 
        toolboxItem:ModelingToolboxItem -> bool 
override OnToolboxItemSelected : 
        toolboxItem:ModelingToolboxItem -> bool 
public function OnToolboxItemSelected(
    toolboxItem : ModelingToolboxItem
) : boolean
Parameters
- toolboxItem
 Type: Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem
Return Value
Type: System.Boolean
.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.