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
'Declaração
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
- 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.
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
- 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.