Jaa


StorageItemMostRecentlyUsedList.ItemRemoved Event

Definition

Fires when a storage item is removed from the most recently used (MRU) list.

// Register
event_token ItemRemoved(TypedEventHandler<StorageItemMostRecentlyUsedList, ItemRemovedEventArgs const&> const& handler) const;

// Revoke with event_token
void ItemRemoved(event_token const* cookie) const;

// Revoke with event_revoker
StorageItemMostRecentlyUsedList::ItemRemoved_revoker ItemRemoved(auto_revoke_t, TypedEventHandler<StorageItemMostRecentlyUsedList, ItemRemovedEventArgs const&> const& handler) const;
public event TypedEventHandler<StorageItemMostRecentlyUsedList,ItemRemovedEventArgs> ItemRemoved;
function onItemRemoved(eventArgs) { /* Your code */ }
storageItemMostRecentlyUsedList.addEventListener("itemremoved", onItemRemoved);
storageItemMostRecentlyUsedList.removeEventListener("itemremoved", onItemRemoved);
- or -
storageItemMostRecentlyUsedList.onitemremoved = onItemRemoved;
Public Custom Event ItemRemoved As TypedEventHandler(Of StorageItemMostRecentlyUsedList, ItemRemovedEventArgs) 

Event Type

Remarks

Note

If you want to respond to ItemRemoved events you must register your event handle every time you get a new reference to the StorageItemMostRecentlyUsedList.

Applies to

See also