PackageManager.GetPackageVolumesAsync 方法

定义

获取设备上的 Package 卷。

public:
 virtual IAsyncOperation<IVectorView<PackageVolume ^> ^> ^ GetPackageVolumesAsync() = GetPackageVolumesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<PackageVolume>> GetPackageVolumesAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<PackageVolume>> GetPackageVolumesAsync();
function getPackageVolumesAsync()
Public Function GetPackageVolumesAsync () As IAsyncOperation(Of IReadOnlyList(Of PackageVolume))

返回

返回与包卷一起完成的异步操作。

属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于

另请参阅