Jaa


PackageTypes Enum

Definition

Defines the types of Package to be included in the result set of a query.

This enumeration supports a bitwise combination of its member values.

public enum class PackageTypes
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PackageTypes
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PackageTypes
var value = Windows.Management.Deployment.PackageTypes.none
Public Enum PackageTypes
Inheritance
PackageTypes
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

Default inventorying behavior.

Main 1

Include the main packages when you enumerate the package repository.

Framework 2

Include the framework packages when you enumerate the package repository.

Resource 4

Include the resource packages when you enumerate the package repository.

Bundle 8

Include the bundle packages when you enumerate the package repository.

Xap 16

Include the XAP packages when you enumerate the package repository.

Optional 32

Include the optional packages when you enumerate the package repository.

All 4294967295

Include all packages when you enumerate the package repository.

Remarks

Version history

Windows version SDK version Value added
1607 14393 Optional
2004 19041 All

Applies to

See also