IVsDataViewDragSourceProvider 接口

提供可以拖到数据视图层次结构中选定的节点。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Public Interface IVsDataViewDragSourceProvider
public interface IVsDataViewDragSourceProvider
public interface class IVsDataViewDragSourceProvider
type IVsDataViewDragSourceProvider =  interface end
public interface IVsDataViewDragSourceProvider

IVsDataViewDragSourceProvider 类型公开以下成员。

方法

  名称 说明
公共方法 CreateDataObject 当实现的类,创建包含的节点拖动,在剪贴板复制要存储的数据对象。
公共方法 GetAllowedEffects 当实现由类,请允许的拖放效果,当节点。数据视图拖动,例如复制、移动,或链接时。
公共方法 OnDropped 当实现由类,请处理放置操作。
公共方法 OnGiveFeedback 当实现由类,将引发 GiveFeedback 事件。
公共方法 OnQueryContinueDrag 当实现由类,将引发 QueryContinueDrag 事件。

页首

请参阅

参考

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间