DataPackage.OperationCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a paste operation is completed.
// 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)
Event Type
Remarks
This event occurs when a user or program pastes content from the Clipboard. If your app is using the DataPackage for share operations, you do not have to handle this event.