共用方式為


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

正在拖曳之物件的視覺表示。

傳回

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

屬性

適用於