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
'宣告
<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 | |
---|---|---|
DragCleanup | Cleans up any state that was cached in the call to DragSetup. | |
DragSetup | Does the necessary setup or caching in order to quickly execute the IsTextDataAtLocation 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].