Jaa


StorageItemAccessList.Add Method

Definition

Overloads

Add(IStorageItem)

Adds a new storage item to the access list.

Add(IStorageItem, String)

Adds a new storage item and accompanying metadata to the access list.

Add(IStorageItem)

Adds a new storage item to the access list.

public:
 virtual Platform::String ^ Add(IStorageItem ^ file) = Add;
/// [Windows.Foundation.Metadata.Overload("AddOverloadDefaultMetadata")]
winrt::hstring Add(IStorageItem const& file);
[Windows.Foundation.Metadata.Overload("AddOverloadDefaultMetadata")]
public string Add(IStorageItem file);
function add(file)
Public Function Add (file As IStorageItem) As String

Parameters

file
IStorageItem

The storage item to add.

Returns

String

Platform::String

winrt::hstring

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

Implements

Attributes

See also

Applies to

Add(IStorageItem, String)

Adds a new storage item and accompanying metadata to the access list.

public:
 virtual Platform::String ^ Add(IStorageItem ^ file, Platform::String ^ metadata) = Add;
/// [Windows.Foundation.Metadata.Overload("Add")]
winrt::hstring Add(IStorageItem const& file, winrt::hstring const& metadata);
[Windows.Foundation.Metadata.Overload("Add")]
public string Add(IStorageItem file, string metadata);
function add(file, metadata)
Public Function Add (file As IStorageItem, metadata As String) As String

Parameters

file
IStorageItem

The storage item to add.

metadata
String

Platform::String

winrt::hstring

Optional metadata to associate with the storage item.

Returns

String

Platform::String

winrt::hstring

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

Implements

M:Windows.Storage.AccessCache.IStorageItemAccessList.Add(Windows.Storage.IStorageItem,System.String) M:Windows.Storage.AccessCache.IStorageItemAccessList.Add(Windows.Storage.IStorageItem,Platform::String) M:Windows.Storage.AccessCache.IStorageItemAccessList.Add(Windows.Storage.IStorageItem,winrt::hstring)
Attributes

See also

Applies to