uap15:Capabilities

Declares the access to protected user resources that a package requires. This element can be used by framework packages.

Element hierarchy

<Package>

    <uap15:Capabilities>

Syntax

<uap15:Capabilities>

  <!-- Child elements -->
  Capability{0,100},
  uap:Capability{0,100},
  DeviceCapability{0,100},
  mobile:Capability{0,100},
  rescap:Capability{0,100},
  uap:Capability{0,100},
  uap2:Capability{0,100},
  uap3:Capability{0,100},
  uap4:Capability{0,100},
  uap4:CustomCapability{0,100},
  uap7:Capability{0,100},
  uap11:Capability{0,100}

</uap15:Capabilities>

Key

{}   specific range of occurrences

Attributes and elements

Attributes

None.

Child elements

Child element Description
Capability Declares a capability required by a package.
DeviceCapability Declares a device capability required by a package. On Windows 10.0.10240.0, can contain up to 100 [Device](element-device.md) elements. On Windows 10.0.10586.0, can contain up to 1000 (for syntax and examples, see Examples).
mobile:Capability Declares a capability required by a package. (mobile)
rescap:Capability Declares a restricted capability required by a package.
uap2:Capability Declares a capability required by a package. (uap2)
uap3:Capability Declares a capability required by a package. (uap3)
uap4:Capability Declares a capability required by a package. (uap4)
uap4:CustomCapability Declares a custom capability required by a package. (uap4)
uap11:Capability Declares a capability required by a package. (uap11)

Parent elements

Parent element Description
Package Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system.

Remarks

This element has the same format and provides the same behavior as the Capabilities element. The only difference is that while the original Capabilities element could only be used for main packages, uap15:Capabilities can be used for non-main packages. The usage of this element is restricted to framework packages.

See also

App capability declarations MSIX framework packages and dynamic dependencies

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10/15
Minimum OS Version Windows 11 version 22H2 (Build 22621)