ModelingDocView.IVsToolboxActiveUserHook.InterceptDataObject Method
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.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Private Function InterceptDataObject ( _
input As IDataObject, _
<OutAttribute> ByRef output As IDataObject _
) As Integer Implements IVsToolboxActiveUserHook.InterceptDataObject
int IVsToolboxActiveUserHook.InterceptDataObject(
IDataObject input,
out IDataObject output
)
private:
virtual int InterceptDataObject(
IDataObject^ input,
[OutAttribute] IDataObject^% output
) sealed = IVsToolboxActiveUserHook::InterceptDataObject
private abstract InterceptDataObject :
input:IDataObject *
output:IDataObject byref -> int
private override InterceptDataObject :
input:IDataObject *
output:IDataObject byref -> int
JScript does not support explicit interface implementations.
Parameters
- input
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
- output
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject%
Return Value
Type: Int32
Implements
IVsToolboxActiveUserHook.InterceptDataObject(IDataObject, IDataObject%)
.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.