StorageItemAccessList.AddOrReplace StorageItemAccessList.AddOrReplace StorageItemAccessList.AddOrReplace StorageItemAccessList.AddOrReplace StorageItemAccessList.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 access 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 access list, or replaces the specified item if it already exists 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 access 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)
storageItemAccessList.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 access 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)
storageItemAccessList.addOrReplace(token, file, metadata);

Parameters

token
String String String

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

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