ActionsPane.DoDragDrop 方法

開始拖放作業。

命名空間:  Microsoft.Office.Tools
組件:  Microsoft.Office.Tools.Common (在 Microsoft.Office.Tools.Common.dll 中)

語法

'宣告
Function DoDragDrop ( _
    data As Object, _
    allowedEffects As DragDropEffects _
) As DragDropEffects
DragDropEffects DoDragDrop(
    Object data,
    DragDropEffects allowedEffects
)

參數

傳回值

型別:System.Windows.Forms.DragDropEffects
一個值,表示在拖放操作期間執行的最後一個效果。

備註

此方法提供和 Control.DoDragDrop 方法相同的功能。 如需使用這個方法的詳細資訊,請參閱 Control.DoDragDrop

.NET Framework 安全性

請參閱

參考

ActionsPane 介面

Microsoft.Office.Tools 命名空間

其他資源

執行窗格概觀