IVsLanguageDragDropOps 接口

实现需要启用拖/的语言放置操作根据放置的位置。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
<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

IVsLanguageDragDropOps 类型公开以下成员。

方法

  名称 说明
公共方法 DragCleanup 清理到 DragSetup的调用缓存的任何状态。
公共方法 DragSetup 执行必要的设置或缓存以便更快地执行 IsTextDataAtLocation 方法。
公共方法 IsTextDataAtLocation 确定数据对象传递给 DragSetup 是否包含可以呈现为文本缓冲区的文本在指定的位置的数据?

页首

备注

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

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间