Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Private Function ItemPicked ( _
dataObject As IDataObject _
) As Integer Implements IVsToolboxUser.ItemPicked
int IVsToolboxUser.ItemPicked(
IDataObject dataObject
)
private:
virtual int ItemPicked(
IDataObject^ dataObject
) sealed = IVsToolboxUser::ItemPicked
private abstract ItemPicked :
dataObject:IDataObject -> int
private override ItemPicked :
dataObject:IDataObject -> int
JScript does not support explicit interface implementations.
Parameters
dataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsToolboxUser.ItemPicked(IDataObject)
Remarks
This method is called whenever a Toolbox item is added to window by selection.
.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.