Udostępnij za pośrednictwem


ModelingDocView.IVsToolboxActiveUserHook.InterceptDataObject Method

Definition

Called by toolbox when the input data object is about to go into a drag-drop operation. This method allows the input data object to be substituted by the output data object, which will go into the drag-drop operation instead.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsToolboxActiveUserHook.InterceptDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ input, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IDataObject ^ % output) = Microsoft::VisualStudio::Shell::Interop::IVsToolboxActiveUserHook::InterceptDataObject;
int IVsToolboxActiveUserHook.InterceptDataObject (Microsoft.VisualStudio.OLE.Interop.IDataObject input, out Microsoft.VisualStudio.OLE.Interop.IDataObject output);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsToolboxActiveUserHook.InterceptDataObject : Microsoft.VisualStudio.OLE.Interop.IDataObject * IDataObject -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsToolboxActiveUserHook.InterceptDataObject : Microsoft.VisualStudio.OLE.Interop.IDataObject * IDataObject -> int
Function InterceptDataObject (input As IDataObject, ByRef output As IDataObject) As Integer Implements IVsToolboxActiveUserHook.InterceptDataObject

Parameters

input
IDataObject
output
IDataObject

Returns

Implements

Applies to