Share via


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)

Syntax

'Declaration
<GuidAttribute("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")> _
<InterfaceTypeAttribute()> _
Public Interface IVsLanguageDragDropOps
[GuidAttribute("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")]
[InterfaceTypeAttribute()]
public interface IVsLanguageDragDropOps
[GuidAttribute(L"B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")]
[InterfaceTypeAttribute()]
public interface class IVsLanguageDragDropOps
[<GuidAttribute("B3F95731-540E-4F1C-B6D9-1A7FF6DEC782")>]
[<InterfaceTypeAttribute()>]
type IVsLanguageDragDropOps =  interface end
public interface IVsLanguageDragDropOps

The IVsLanguageDragDropOps type exposes the following members.

Methods

  Name Description
Public method DragCleanup Cleans up any state that was cached in the call to DragSetup.
Public method DragSetup Does the necessary setup or caching in order to quickly execute the IsTextDataAtLocation method.
Public method IsTextDataAtLocation Determines whether the data object passed to DragSetup contains data that can be rendered as text for the text buffer at the specified location?

Top

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

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace