IVsToolboxUser::ItemPicked Method (IDataObject^)
Visual Studio 2015
Sends notification that an item in the Toolbox is selected through a click, or by pressing ENTER.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pDO
-
Type:
Microsoft.VisualStudio.OLE.Interop::IDataObject^
[in] Data object that is selected.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsToolboxUser::ItemPicked(
[in]IDataObject* pDO
);
This method is called whenever a Toolbox item is added to window by selection, that is by a user double clicking on the item, or single clicking and pressing ENTER, which by-passed the drag-and-drop mechanism.
Show: