Sdílet prostřednictvím


ModelingDocView.InterceptDataObject(IDataObject) 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 returned data object, which will go into the drag-drop operation instead. The base implementation returns null, which means no substitution of the input data object.

protected:
 virtual Microsoft::VisualStudio::OLE::Interop::IDataObject ^ InterceptDataObject(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ input);
protected virtual Microsoft.VisualStudio.OLE.Interop.IDataObject InterceptDataObject (Microsoft.VisualStudio.OLE.Interop.IDataObject input);
abstract member InterceptDataObject : Microsoft.VisualStudio.OLE.Interop.IDataObject -> Microsoft.VisualStudio.OLE.Interop.IDataObject
override this.InterceptDataObject : Microsoft.VisualStudio.OLE.Interop.IDataObject -> Microsoft.VisualStudio.OLE.Interop.IDataObject
Protected Overridable Function InterceptDataObject (input As IDataObject) As IDataObject

Parameters

input
IDataObject

Input data object to be intercepted.

Returns

Data object to substitute the input one. If null, it means no substitution.

Applies to