共用方式為


PackageManager.GetPackageVolumesAsync 方法

定義

取得裝置上的 封裝 磁片區。

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 引進)

適用於

另請參閱