Condividi tramite


DataPackage.OperationCompleted Evento

Definizione

Si verifica al termine di un'operazione incolla.

// 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) 

Tipo evento

Commenti

Questo evento si verifica quando un utente o un programma incolla il contenuto dagli Appunti. Se l'app usa DataPackage per le operazioni di condivisione, non è necessario gestire questo evento.

Si applica a