UserDataProtectionManager.GetStorageItemProtectionInfoAsync 方法

定义

获取存储项的当前保护信息。

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

要从中查询保护的存储项。

返回

属性

适用于