IVsLanguageDragDropOps Interface


Implemented for languages that need to enable drag/drop operations based on the location of the drop.

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

public interface IVsLanguageDragDropOps


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

System_CAPS_pubmethodDragSetup(IDataObject, IVsTextLines, Int32)

Does the necessary setup or caching in order to quickly execute the IsTextDataAtLocation method.

System_CAPS_pubmethodIsTextDataAtLocation(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].

Return to top