ICoreDropOperationTarget.OverAsync(CoreDragInfo, CoreDragUIOverride) 方法

定义

当拖动的项位于放置区域上方时调用。

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

参数

dragInfo
CoreDragInfo

核心拖动信息。

dragUIOverride
CoreDragUIOverride

重写以默认拖动 UI。

返回

此方法完成后,它将返回数据包操作。

属性

适用于