Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Notifies clients that a user clicked an item in the Toolbox or pressed ENTER to select the item.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Function ItemPicked ( _
data As IDataObject _
) As Integer
public int ItemPicked(
IDataObject data
)
public:
virtual int ItemPicked(
IDataObject^ data
) sealed
abstract ItemPicked :
data:IDataObject -> int
override ItemPicked :
data:IDataObject -> int
public final function ItemPicked(
data : IDataObject
) : int
Parameters
- data
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
The item that the user clicked in the Toolbox.
Return Value
Type: System.Int32
S_OK if the user clicked the item or pressed ENTER to select the item; otherwise, E_FAIL.
Implements
IVsToolboxUser.ItemPicked(IDataObject)
Remarks
Toolbox items include shapes and connectors.
This method is an implementation of the ItemPicked interface.
.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.