StorageItemMostRecentlyUsedList.ItemRemoved | itemremoved event

Applies to Windows and Windows Phone

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

Syntax


function onItemRemoved(eventArgs) { /* Your code */ }
 
// addEventListener syntax
storageItemMostRecentlyUsedList.addEventListener("itemremoved", onItemRemoved);
storageItemMostRecentlyUsedList.removeEventListener("itemremoved", onItemRemoved);
 
- or -

storageItemMostRecentlyUsedList.onitemremoved = onItemRemoved;


Event information

Delegate TypedEventHandler<StorageItemMostRecentlyUsedList, ItemRemovedEventArgs>

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.AccessCache
Windows::Storage::AccessCache [C++]

Metadata

Windows.winmd

See also

StorageItemMostRecentlyUsedList
ItemRemovedEventArgs

 

 

Show:
© 2014 Microsoft