IDropOperationTarget.OverAsync(DragInfo, DragUIOverride) 方法

定义

将对象拖动到放置目标区域上时调用。

public:
 IAsyncOperation<DataPackageOperation> ^ OverAsync(DragInfo ^ dragInfo, DragUIOverride ^ dragUIOverride);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<DataPackageOperation> OverAsync(DragInfo const& dragInfo, DragUIOverride const& dragUIOverride);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<DataPackageOperation> OverAsync(DragInfo dragInfo, DragUIOverride dragUIOverride);
function overAsync(dragInfo, dragUIOverride)
Public Function OverAsync (dragInfo As DragInfo, dragUIOverride As DragUIOverride) As IAsyncOperation(Of DataPackageOperation)

参数

dragInfo
DragInfo

有关拖放操作的信息。

dragUIOverride
DragUIOverride

所拖动对象的视觉表示形式。

返回

此方法完成后,它将返回按位组合的数据包操作。

属性

适用于