IVsLanguageDragDropOps Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implemented for languages that need to enable drag/drop operations based on the location of the drop.
public interface class IVsLanguageDragDropOps
public interface class IVsLanguageDragDropOps
__interface IVsLanguageDragDropOps
[System.Runtime.InteropServices.Guid("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLanguageDragDropOps
[System.Runtime.InteropServices.Guid("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLanguageDragDropOps
[<System.Runtime.InteropServices.Guid("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLanguageDragDropOps = interface
[<System.Runtime.InteropServices.Guid("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLanguageDragDropOps = interface
Public Interface IVsLanguageDragDropOps
- Attributes
Remarks
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].
Methods
DragCleanup(IVsTextLines) |
Cleans up any state that was cached in the call to DragSetup(IDataObject, IVsTextLines, Int32). |
DragSetup(IDataObject, IVsTextLines, Int32) |
Does the necessary setup or caching in order to quickly execute the IsTextDataAtLocation(IVsTextLines, Int32, Int32, Int32) method. |
IsTextDataAtLocation(IVsTextLines, Int32, Int32, Int32) |
Determines whether the data object passed to DragSetup(IDataObject, IVsTextLines, Int32) contains data that can be rendered as text for the text buffer at the specified location? |