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 命名空间