This method is called by the Toolbox whenever one of its data objects participates in a drag-and-drop operation.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
- Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
[in] An IDataObject containing the object being dropped on the Toolbox user.
HRESULT IVsToolboxActiveUserHook::InterceptDataObject( [in] IDataObject *pIn, [out] IDataObject **ppOut );
IVsToolboxActiveUserHook is used by an application that needs to intercept and modify certain Toolbox data objects when they are copied or dragged.
It should only be called by the Toolbox itself, as only the active Toolbox user can receive IVsToolboxActiveUserHook notifications.
- 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.