IVsLanguageDragDropOps Interface
Visual Studio 2015
Implemented for languages that need to enable drag/drop operations based on the location of the drop.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
| Name | Description | |
|---|---|---|
![]() | DragCleanup(IVsTextLines) | Cleans up any state that was cached in the call to DragSetup. |
![]() | DragSetup(IDataObject, IVsTextLines, Int32) | Does the necessary setup or caching in order to quickly execute the IsTextDataAtLocation method. |
![]() | IsTextDataAtLocation(IVsTextLines, Int32, Int32, Int32) | Determines whether the data object passed to DragSetup contains data that can be rendered as text for the text buffer at the specified location? |
Get this interface by calling QueryService(guidLanguageService, IID_IVsLanguageDragDropOps).Languages that can decide whether the drop operation can occur independently of the drop location may simply implement either IsTextData or IVsLanguageClipboardOps[Ex]::IsTextData[Ex].
Show:
