EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

PackageManager.FindPackagesWithPackageTypes(PackageTypes) | findPackagesWithPackageTypes(PackageTypes) method

Applies to Windows only

Retrieves information about specific package types that are installed across all users.

Syntax


var iIterable = packageManager.findPackagesWithPackageTypes(packageTypes);

Parameters

packageTypes

Type: PackageTypes

A combination of PackageTypes-typed values that are combined by using a bitwise OR operation. The resulting value specifies the types of packages to be included in the result set.

Return value

Type: IIterable<Package> [JavaScript/C++] | System.Collections.Generic.IEnumerable<Package> [.NET]

If the method succeeds, an enumerable collection of package objects is returned. Each package object in this collection contains information about the package, including but not limited to its name, publisher, version, and install location. The packageTypes parameter determines the types of packages to return.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Management.Deployment
Windows::Management::Deployment [C++]

Metadata

Windows.winmd

See also

PackageManager
FindPackagesWithPackageTypes(String, String, PackageTypes)
FindPackagesWithPackageTypes(String, PackageTypes)

 

 

Mostrar:
© 2014 Microsoft