此主题尚未评级 - 评价此主题

IStorageItemExtraProperties.SavePropertiesAsync(IIterable(IKeyValuePair)) Method

保存与该项关联的指定的属性和值。

语法


IAsyncAction SavePropertiesAsync(
  IEnumerable<KeyValuePair> propertiesToSave
)

参数

propertiesToSave

类型: IIterable<IKeyValuePair> [C++] | System.Collections.Generic.IEnumerable<IKeyValuePair> [.NET]

包含要另存为键值对(类型 IKeyValuePair)的属性的名称和值的集合。

返回值

类型: IAsyncAction

此方法完成之际不返回任何对象或值。

备注

如果任何一个属性值无效,值都不会保存。

Windows Phone 8

此 API 不实现,并且在调用时会引发异常。

要求

最低受支持的客户端

Windows 8

最低受支持的服务器

Windows Server 2012

最低受支持的电话

Windows Phone 8

命名空间

Windows.Storage.FileProperties
Windows::Storage::FileProperties [C++]

元数据

Windows.winmd

另请参阅

IStorageItemExtraProperties
SavePropertiesAsync

 

 

本文是否对您有所帮助?
(1500 个剩余字符)
© 2013 Microsoft. 版权所有。