SimpleEditorView.ItemPicked(IDataObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.