UserDataProtectionManager.GetStorageItemProtectionInfoAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取存储项的当前保护信息。
public:
virtual IAsyncOperation<UserDataStorageItemProtectionInfo ^> ^ GetStorageItemProtectionInfoAsync(IStorageItem ^ storageItem) = GetStorageItemProtectionInfoAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserDataStorageItemProtectionInfo> GetStorageItemProtectionInfoAsync(IStorageItem const& storageItem);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserDataStorageItemProtectionInfo> GetStorageItemProtectionInfoAsync(IStorageItem storageItem);
function getStorageItemProtectionInfoAsync(storageItem)
Public Function GetStorageItemProtectionInfoAsync (storageItem As IStorageItem) As IAsyncOperation(Of UserDataStorageItemProtectionInfo)
参数
- storageItem
- IStorageItem
要从中查询保护的存储项。
返回
- 属性