DiagramDragEventArgs.ComputeEffect 方法

此方法返回给定的唯一给定的值 (拖放目标上支持的可能的效果。提供的拖动源的效果采用键状态可用于确定该给定的效果。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Function ComputeEffect ( _
    possibleTargetEffects As DragDropEffects _
) As DragDropEffects
public DragDropEffects ComputeEffect(
    DragDropEffects possibleTargetEffects
)

参数

返回值

类型:System.Windows.Forms.DragDropEffects

.NET Framework 安全性

请参见

参考

DiagramDragEventArgs 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间