PackageManager.GetPackageVolumesAsync PackageManager.GetPackageVolumesAsync PackageManager.GetPackageVolumesAsync PackageManager.GetPackageVolumesAsync Method

Definition

Gets the package volumes on the device.

public : IAsyncOperation<IVectorView<PackageVolume>> GetPackageVolumesAsync()
IAsyncOperation<IVectorView<PackageVolume>> GetPackageVolumesAsync() const;
public IAsyncOperation<IReadOnlyList<PackageVolume>> GetPackageVolumesAsync()
Public Function GetPackageVolumesAsync() As IAsyncOperation<IReadOnlyList<PackageVolume>>(Of IVectorView)

Returns

IAsyncOperation<IReadOnlyList<PackageVolume>> IAsyncOperation<IReadOnlyList<PackageVolume>>

Returns an asynchronous operation that completes with the package volumes.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)