語言

DragDropHelper.GetDragDropCompletedEffects(DataObject) 方法

定義

警告

This method does not support dragging multiple items. Consider using "public static IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)" instead.

回傳拖放操作的結果,其行為由指定的 DataObject決定。

public:
 static System::Windows::DragDropEffects GetDragDropCompletedEffects(System::Windows::DataObject ^ data);
public static System.Windows.DragDropEffects GetDragDropCompletedEffects(System.Windows.DataObject data);
[System.Obsolete("This method does not support dragging multiple items. Consider using "public static IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)" instead.")]
public static System.Windows.DragDropEffects GetDragDropCompletedEffects(System.Windows.DataObject data);
static member GetDragDropCompletedEffects : System.Windows.DataObject -> System.Windows.DragDropEffects
[<System.Obsolete("This method does not support dragging multiple items. Consider using "public static IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)" instead.")>]
static member GetDragDropCompletedEffects : System.Windows.DataObject -> System.Windows.DragDropEffects
Public Shared Function GetDragDropCompletedEffects (data As DataObject) As DragDropEffects

參數

data
DataObject

一個包含拖放操作影響資料的物件。

傳回

一個列舉的過程。

屬性

適用於