StorageItemMostRecentlyUsedList.AddOrReplace StorageItemMostRecentlyUsedList.AddOrReplace StorageItemMostRecentlyUsedList.AddOrReplace StorageItemMostRecentlyUsedList.AddOrReplace StorageItemMostRecentlyUsedList.AddOrReplace Method

Definition

Overloads

AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem)

Adds a new storage item to the most recently used (MRU) list, or replaces the specified item if it already exists in the list.

AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list, or replaces the specified item if it already exists in the list.

AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list, or replaces the specified item if it already exists in the list. Also specifies the extent of its visibility in the list.

AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem) AddOrReplace(String, IStorageItem)

Adds a new storage item to the most recently used (MRU) list, or replaces the specified item if it already exists in the list.

public : void AddOrReplace(Platform::String token, IStorageItem file)
void AddOrReplace(winrt::hstring token, IStorageItem file) const;
public void AddOrReplace(String token, IStorageItem file)
Public Sub AddOrReplace(token As String, file As IStorageItem)
storageItemMostRecentlyUsedList.addOrReplace(token, file);

Parameters

token
String String String

The token associated with the new storage item. If the access list already contains a storage item that has this token, the new item replaces the existing one.

file
IStorageItem IStorageItem IStorageItem

The storage item to add or replace.

See also

AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String) AddOrReplace(String, IStorageItem, String)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list, or replaces the specified item if it already exists in the list.

public : void AddOrReplace(Platform::String token, IStorageItem file, Platform::String metadata)
void AddOrReplace(winrt::hstring token, IStorageItem file, winrt::hstring metadata) const;
public void AddOrReplace(String token, IStorageItem file, String metadata)
Public Sub AddOrReplace(token As String, file As IStorageItem, metadata As String)
storageItemMostRecentlyUsedList.addOrReplace(token, file, metadata);

Parameters

token
String String String

The token associated with the new storage item. If the access list already contains a storage item that has this token, the new item replaces the existing one.

file
IStorageItem IStorageItem IStorageItem

The storage item to add or replace.

metadata
String String String

Optional metadata to associate with the storage item.

See also

AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility) AddOrReplace(String, IStorageItem, String, RecentStorageItemVisibility)

Adds a new storage item and accompanying metadata to the most recently used (MRU) list, or replaces the specified item if it already exists in the list. Also specifies the extent of its visibility in the list.

public : void AddOrReplace(Platform::String token, IStorageItem file, Platform::String metadata, RecentStorageItemVisibility visibility)
void AddOrReplace(winrt::hstring token, IStorageItem file, winrt::hstring metadata, RecentStorageItemVisibility visibility) const;
public void AddOrReplace(String token, IStorageItem file, String metadata, RecentStorageItemVisibility visibility)
Public Sub AddOrReplace(token As String, file As IStorageItem, metadata As String, visibility As RecentStorageItemVisibility)
storageItemMostRecentlyUsedList.addOrReplace(token, file, metadata, visibility);

Parameters

token
String String String

The token associated with the new storage item. If the access list already contains a storage item that has this token, the new item replaces the existing one.

file
IStorageItem IStorageItem IStorageItem

The storage item to add or replace.

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.

See also