StorageProviderItemProperties.SetAsync 方法

定义

设置存储项的自定义属性值。

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

参数

item
IStorageItem

存储项。

返回

异步操作。 如果使用 异步编程,则返回类型为 void。

属性

适用于