IDropOperationTarget.EnterAsync(DragInfo, DragUIOverride) 方法

定义

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

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

参数

dragInfo
DragInfo

有关拖放操作的信息。

dragUIOverride
DragUIOverride

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

返回

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

属性

适用于