BarcodeScannerProviderConnection.SetBarcodeSymbologyAttributesRequested É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 attributs d’une symbologie de code-barres.
// Register
event_token SetBarcodeSymbologyAttributesRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerSetSymbologyAttributesRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void SetBarcodeSymbologyAttributesRequested(event_token const* cookie) const;
// Revoke with event_revoker
BarcodeScannerProviderConnection::SetBarcodeSymbologyAttributesRequested_revoker SetBarcodeSymbologyAttributesRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerSetSymbologyAttributesRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerSetSymbologyAttributesRequestEventArgs> SetBarcodeSymbologyAttributesRequested;
function onSetBarcodeSymbologyAttributesRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("setbarcodesymbologyattributesrequested", onSetBarcodeSymbologyAttributesRequested);
barcodeScannerProviderConnection.removeEventListener("setbarcodesymbologyattributesrequested", onSetBarcodeSymbologyAttributesRequested);
- or -
barcodeScannerProviderConnection.onsetbarcodesymbologyattributesrequested = onSetBarcodeSymbologyAttributesRequested;
Public Custom Event SetBarcodeSymbologyAttributesRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerSetSymbologyAttributesRequestEventArgs)
Type d'événement
TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerSetSymbologyAttributesRequestEventArgs>