Share via


SimpleEditorView.ItemPicked Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function ItemPicked ( _
    data As IDataObject _
) As Integer
public virtual int ItemPicked(
    IDataObject data
)
public:
virtual int ItemPicked(
    IDataObject^ data
)
abstract ItemPicked : 
        data:IDataObject -> int  
override ItemPicked : 
        data:IDataObject -> int
public function ItemPicked(
    data : IDataObject
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsToolboxUser.ItemPicked(IDataObject)

.NET Framework Security

See Also

Reference

SimpleEditorView Class

Microsoft.VisualStudio.Package Namespace