Share via


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

Return Value

Type: Int32

Implements

IVsToolboxActiveUserHook.InterceptDataObject(IDataObject, IDataObject%)

.NET Framework Security

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace