IStorageItemAccessList.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:
 Platform::String ^ Add(IStorageItem ^ file);
/// [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

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

Attributes

See also

Applies to

Add(IStorageItem, String)

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

public:
 Platform::String ^ Add(IStorageItem ^ file, Platform::String ^ metadata);
/// [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

Optional metadata to associate with the storage item.

Returns

String

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

Attributes

See also

Applies to