ModelingDocView.IVsToolboxActiveUserHook.ToolboxSelectionChanged Method
Called when selection on toolbox changes (through a single-click or pressing up/down arrow keys).
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
Private Function ToolboxSelectionChanged ( _
selectedObject As IDataObject _
) As Integer Implements IVsToolboxActiveUserHook.ToolboxSelectionChanged
int IVsToolboxActiveUserHook.ToolboxSelectionChanged(
IDataObject selectedObject
)
private:
virtual int ToolboxSelectionChanged(
IDataObject^ selectedObject
) sealed = IVsToolboxActiveUserHook::ToolboxSelectionChanged
private abstract ToolboxSelectionChanged :
selectedObject:IDataObject -> int
private override ToolboxSelectionChanged :
selectedObject:IDataObject -> int
JScript does not support explicit interface implementations.
Parameters
- selectedObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
Not used.
Return Value
Type: System.Int32
Implements
IVsToolboxActiveUserHook.ToolboxSelectionChanged(IDataObject)
.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.