DataPackage.OperationCompleted DataPackage.OperationCompleted DataPackage.OperationCompleted DataPackage.OperationCompleted DataPackage.OperationCompleted Event

Definition

Occurs when a paste operation is completed.

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

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

// Revoke with event_revoker
OperationCompleted_revoker OperationCompleted(auto_revoke_t, TypedEventHandler<DataPackage, OperationCompletedEventArgs> const& handler) const;
public event TypedEventHandler<DataPackage, OperationCompletedEventArgs> OperationCompleted
Public Event OperationCompleted As TypedEventHandler (Of DataPackage, OperationCompletedEventArgs)
function onOperationCompleted(eventArgs){/* Your code */}


dataPackage.addEventListener("operationcompleted", onOperationCompleted);
dataPackage.removeEventListener("operationcompleted", onOperationCompleted);

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.