PackageManager.GetPackageVolumesAsync Method

Definition

Gets the Package volumes on the device.

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

Returns

Returns an asynchronous operation that completes with the package volumes.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to

See also