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 对象,该对象指定 () 执行的操作。

属性

适用于