CashDrawer.StatusUpdated 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示隱藏式選單的電源可用性狀態有所變更。
// Register
event_token StatusUpdated(TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs const&> const& handler) const;
// Revoke with event_token
void StatusUpdated(event_token const* cookie) const;
// Revoke with event_revoker
CashDrawer::StatusUpdated_revoker StatusUpdated(auto_revoke_t, TypedEventHandler<CashDrawer, CashDrawerStatusUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<CashDrawer,CashDrawerStatusUpdatedEventArgs> StatusUpdated;
function onStatusUpdated(eventArgs) { /* Your code */ }
cashDrawer.addEventListener("statusupdated", onStatusUpdated);
cashDrawer.removeEventListener("statusupdated", onStatusUpdated);
- or -
cashDrawer.onstatusupdated = onStatusUpdated;
Public Custom Event StatusUpdated As TypedEventHandler(Of CashDrawer, CashDrawerStatusUpdatedEventArgs)