共用方式為


ICoreDropOperationTarget.EnterAsync(CoreDragInfo, CoreDragUIOverride) 方法

定義

當拖曳的專案進入置放區域時呼叫。

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

參數

dragInfo
CoreDragInfo

核心拖曳資訊。

dragUIOverride
CoreDragUIOverride

覆寫以預設拖曳 UI。

傳回

當這個方法完成時,它會傳回資料封裝作業。

屬性

適用於