ClaimedBarcodeScanner.TriggerPressed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the barcode scanner trigger or button is pressed during a scanning operation.
// Register
event_token TriggerPressed(EventHandler<ClaimedBarcodeScanner> const& handler) const;
// Revoke with event_token
void TriggerPressed(event_token const* cookie) const;
// Revoke with event_revoker
ClaimedBarcodeScanner::TriggerPressed_revoker TriggerPressed(auto_revoke_t, EventHandler<ClaimedBarcodeScanner> const& handler) const;
public event System.EventHandler<ClaimedBarcodeScanner> TriggerPressed;
function onTriggerPressed(eventArgs) { /* Your code */ }
claimedBarcodeScanner.addEventListener("triggerpressed", onTriggerPressed);
claimedBarcodeScanner.removeEventListener("triggerpressed", onTriggerPressed);
- or -
claimedBarcodeScanner.ontriggerpressed = onTriggerPressed;
Public Custom Event TriggerPressed As EventHandler(Of ClaimedBarcodeScanner)