Bagikan melalui


BarcodeScannerProviderConnection.SetActiveSymbologiesRequested Kejadian

Definisi

Muncul saat aplikasi klien mencoba mengatur simbologi kode batang untuk digunakan perangkat.

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

Jenis Acara

Berlaku untuk