DesignerWindowPane::IVsToolboxUser::ItemPicked Method (IDataObject^)

 

Sends notification that an item in the Toolbox is selected through a click, or by pressing ENTER.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

private:
virtual int ItemPicked(
	IDataObject^ dataObject
) sealed = IVsToolboxUser::ItemPicked

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method is called whenever a Toolbox item is added to window by selection.

Return to top
Show: