共用方式為


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

要從中查詢保護的儲存體專案。

傳回

屬性

適用於