IVsLanguageDragDropOps 接口

定义

针对需要启用基于拖放的位置的拖放操作的语言实现的。

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(1)>]
type IVsLanguageDragDropOps = interface
Public Interface IVsLanguageDragDropOps
属性

注解

通过调用 QueryService (guidLanguageService,IID_IVsLanguageDragDropOps) 获取此接口。可以决定放置操作是否可以独立于放置位置进行的语言可能只是实现 IsTextData 或 IVsLanguageClipboardOps [ex]:: IsTextData [ex]。

方法

DragCleanup(IVsTextLines)

清除在对的调用中缓存的任何状态 DragSetup(IDataObject, IVsTextLines, Int32)

DragSetup(IDataObject, IVsTextLines, Int32)

执行必要的设置或缓存,以便快速执行 IsTextDataAtLocation(IVsTextLines, Int32, Int32, Int32) 方法。

IsTextDataAtLocation(IVsTextLines, Int32, Int32, Int32)

确定传递给的数据对象是否 DragSetup(IDataObject, IVsTextLines, Int32) 包含可呈现为指定位置文本缓冲区文本的数据?

适用于