IVsLanguageDragDropOps::DragCleanup Method (IVsTextLines^)

 

Cleans up any state that was cached in the call to DragSetup.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int DragCleanup(
	IVsTextLines^ pBuffer
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

The text buffer.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

If DragSetup was called, then this method must be called when the drag operation is completed, in other words, when the user performs a drop, the user cancels the Drag/Drop operation, or the mouse leaves the text editor window.

Return to top
Show: