共用方式為


DragOperation.StartAsync(DragDropManager, PointerPoint) 方法

定義

使用指定的輸入指標,啟動指定 DragDropManager 之 的拖放作業。

public:
 virtual IAsyncOperation<DataPackageOperation> ^ StartAsync(DragDropManager ^ initialTarget, PointerPoint ^ initialPointerPoint) = StartAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<DataPackageOperation> StartAsync(DragDropManager const& initialTarget, PointerPoint const& initialPointerPoint);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<DataPackageOperation> StartAsync(DragDropManager initialTarget, PointerPoint initialPointerPoint);
function startAsync(initialTarget, initialPointerPoint)
Public Function StartAsync (initialTarget As DragDropManager, initialPointerPoint As PointerPoint) As IAsyncOperation(Of DataPackageOperation)

參數

initialTarget
DragDropManager

拖放作業的目標。

initialPointerPoint
PointerPoint

與拖放作業相關聯的輸入指標。

傳回

非同步作業物件,您可以在成功完成時擷取 DataPackageOperation 物件,以指定要執行 (動作) 。

屬性

適用於