BarcodeScannerProviderConnection.SetActiveSymbologiesRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Déclenché lorsque l’application cliente tente de définir les symboles de code-barres que l’appareil doit utiliser.
// Register
event_token SetActiveSymbologiesRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerSetActiveSymbologiesRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void SetActiveSymbologiesRequested(event_token const* cookie) const;
// Revoke with event_revoker
BarcodeScannerProviderConnection::SetActiveSymbologiesRequested_revoker SetActiveSymbologiesRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerSetActiveSymbologiesRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerSetActiveSymbologiesRequestEventArgs> SetActiveSymbologiesRequested;
function onSetActiveSymbologiesRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("setactivesymbologiesrequested", onSetActiveSymbologiesRequested);
barcodeScannerProviderConnection.removeEventListener("setactivesymbologiesrequested", onSetActiveSymbologiesRequested);
- or -
barcodeScannerProviderConnection.onsetactivesymbologiesrequested = onSetActiveSymbologiesRequested;
Public Custom Event SetActiveSymbologiesRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerSetActiveSymbologiesRequestEventArgs)
Type d'événement
TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerSetActiveSymbologiesRequestEventArgs>