SimpleEditorView.ItemPicked(IDataObject) Method

Definition

Sends notification that an item in the toolbox has been selected (by clicking the mouse or by pressing ENTER).

public:
 virtual int ItemPicked(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ data);
public:
 virtual int ItemPicked(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ data);
 virtual int ItemPicked(Microsoft::VisualStudio::OLE::Interop::IDataObject const & data);
public virtual int ItemPicked (Microsoft.VisualStudio.OLE.Interop.IDataObject data);
abstract member ItemPicked : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
override this.ItemPicked : Microsoft.VisualStudio.OLE.Interop.IDataObject -> int
Public Overridable Function ItemPicked (data As IDataObject) As Integer

Parameters

data
IDataObject

The IDataObject that has been selected.

Returns

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

Implements

Applies to