BarcodeScannerProviderConnection.SetActiveSymbologiesRequested Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerSetActiveSymbologiesRequestEventArgs>