ClaimedBarcodeScanner.TriggerPressed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在扫描操作期间按下条形码扫描仪触发器或按钮时发生。
// 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)