StorageItemMostRecentlyUsedList.Add StorageItemMostRecentlyUsedList.Add StorageItemMostRecentlyUsedList.Add StorageItemMostRecentlyUsedList.Add StorageItemMostRecentlyUsedList.Add Method

Definition

Overloads

Add(IStorageItem) Add(IStorageItem) Add(IStorageItem) Add(IStorageItem) Add(IStorageItem)

Adds a new storage item to the most recently used (MRU) list.

Add(IStorageItem, String) Add(IStorageItem, String) Add(IStorageItem, String) Add(IStorageItem, String) Add(IStorageItem, String)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list.

Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list, specifying the extent of its visibility in the list.

Add(IStorageItem) Add(IStorageItem) Add(IStorageItem) Add(IStorageItem) Add(IStorageItem)

Adds a new storage item to the most recently used (MRU) list.

public : Platform::String Add(IStorageItem file)
winrt::hstring Add(IStorageItem file) const;
public string Add(IStorageItem file)
Public Function Add(file As IStorageItem) As string
var string = storageItemMostRecentlyUsedList.add(file);
Parameters
file
IStorageItem IStorageItem IStorageItem

The storage item to add.

Returns
string string string

A token that the app can use later to retrieve the storage item.

See Also

Add(IStorageItem, String) Add(IStorageItem, String) Add(IStorageItem, String) Add(IStorageItem, String) Add(IStorageItem, String)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list.

public : Platform::String Add(IStorageItem file, Platform::String metadata)
winrt::hstring Add(IStorageItem file, winrt::hstring metadata) const;
public string Add(IStorageItem file, String metadata)
Public Function Add(file As IStorageItem, metadata As String) As string
var string = storageItemMostRecentlyUsedList.add(file, metadata);
Parameters
file
IStorageItem IStorageItem IStorageItem

The storage item to add.

metadata
String String String

Optional metadata to associate with the storage item.

Returns
string string string

A token that the app can use later to retrieve the storage item.

See Also

Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility) Add(IStorageItem, String, RecentStorageItemVisibility)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list, specifying the extent of its visibility in the list.

public : Platform::String Add(IStorageItem file, Platform::String metadata, RecentStorageItemVisibility visibility)
winrt::hstring Add(IStorageItem file, winrt::hstring metadata, RecentStorageItemVisibility visibility) const;
public string Add(IStorageItem file, String metadata, RecentStorageItemVisibility visibility)
Public Function Add(file As IStorageItem, metadata As String, visibility As RecentStorageItemVisibility) As string
var string = storageItemMostRecentlyUsedList.add(file, metadata, visibility);
Parameters
file
IStorageItem IStorageItem IStorageItem

The storage item to add.

metadata
String String String

Optional metadata to associate with the storage item.

visibility
RecentStorageItemVisibility RecentStorageItemVisibility RecentStorageItemVisibility

The extent of the visibility of the storage item in the list.

Returns
string string string

A token that the app can use later to retrieve the storage item.

See Also