DataPackage.OperationCompleted 事件

定义

在粘贴操作完成时发生。

// Register
event_token OperationCompleted(TypedEventHandler<DataPackage, OperationCompletedEventArgs const&> const& handler) const;

// Revoke with event_token
void OperationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
DataPackage::OperationCompleted_revoker OperationCompleted(auto_revoke_t, TypedEventHandler<DataPackage, OperationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<DataPackage,OperationCompletedEventArgs> OperationCompleted;
function onOperationCompleted(eventArgs) { /* Your code */ }
dataPackage.addEventListener("operationcompleted", onOperationCompleted);
dataPackage.removeEventListener("operationcompleted", onOperationCompleted);
- or -
dataPackage.onoperationcompleted = onOperationCompleted;
Public Custom Event OperationCompleted As TypedEventHandler(Of DataPackage, OperationCompletedEventArgs) 

事件类型

注解

当用户或程序从剪贴板粘贴内容时,会发生此事件。 如果应用将 DataPackage 用于共享操作,则无需处理此事件。

适用于