Megosztás a következőn keresztül:


PackageManager.FindProvisionedPackages Method

Definition

Gets the list of all installed Packages on the device.

public:
 virtual IVector<Package ^> ^ FindProvisionedPackages() = FindProvisionedPackages;
/// [Windows.Foundation.Metadata.Overload("FindProvisionedPackages")]
IVector<Package> FindProvisionedPackages();
[Windows.Foundation.Metadata.Overload("FindProvisionedPackages")]
public IList<Package> FindProvisionedPackages();
function findProvisionedPackages()
Public Function FindProvisionedPackages () As IList(Of Package)

Returns

The list of all installed packages on the device.

Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to

See also