Partager via


BarcodeScannerProviderConnection.SetActiveSymbologiesRequested Événement

Définition

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

S’applique à