Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.24 KB

storageapplicationpermissions_getmostrecentlyusedlistforuser_384285274.md

File metadata and controls

30 lines (21 loc) · 1.24 KB
-api-id -api-type ms.custom
M:Windows.Storage.AccessCache.StorageApplicationPermissions.GetMostRecentlyUsedListForUser(Windows.System.User)
winrt method
19H1

Windows.Storage.AccessCache.StorageApplicationPermissions.GetMostRecentlyUsedListForUser

-description

Gets an object that an app can use to track the files and/or locations (like folders) that the app has accessed most recently. This method returns an object that is scoped to the specified user. Use this method for multi-user applications.

-parameters

-param user

The user for which to create the most recently used (MRU) list object.

-returns

The most recently used (MRU) list object.

-remarks

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

-see-also

Introduction to multi-user applications

-examples