共用方式為


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 進行共用作業,您就不需要處理此事件。

適用於