StorageProviderItemProperties.SetAsync Method

Definition

Sets custom property values of a storage item.

public:
 static IAsyncAction ^ SetAsync(IStorageItem ^ item, IIterable<StorageProviderItemProperty ^> ^ itemProperties);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction SetAsync(IStorageItem const& item, IIterable<StorageProviderItemProperty> const& itemProperties);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SetAsync(IStorageItem item, IEnumerable<StorageProviderItemProperty> itemProperties);
function setAsync(item, itemProperties)
Public Shared Function SetAsync (item As IStorageItem, itemProperties As IEnumerable(Of StorageProviderItemProperty)) As IAsyncAction

Parameters

item
IStorageItem

The storage item.

itemProperties

IIterable<StorageProviderItemProperty>

IEnumerable<StorageProviderItemProperty>

An iterable list of the StorageProviderItemProperty states for the storage item.

Returns

An asynchronous action. If you use Asynchronous programming, the return type is void.

Attributes

Applies to