Share via


IVsLanguageDragDropOps.DragCleanup Method

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)

Syntax

'Declaration
Function DragCleanup ( _
    pBuffer As IVsTextLines _
) As Integer
int DragCleanup(
    IVsTextLines pBuffer
)
int DragCleanup(
    [InAttribute] IVsTextLines^ pBuffer
)
abstract DragCleanup : 
        pBuffer:IVsTextLines -> int
function DragCleanup(
    pBuffer : IVsTextLines
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

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.

.NET Framework Security

See Also

Reference

IVsLanguageDragDropOps Interface

Microsoft.VisualStudio.TextManager.Interop Namespace