Device

Declares a function for a device that is associated with the DeviceCapability.

Element hierarchy

<DeviceCapability>
<Device>

Syntax

<Device Id = A string between 1 and 512 characters in length. >

  <!-- Child elements -->
  Function{1,100}

</Device>

Key

{} specific range of occurrences

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
Id

The identifier of the device.

A string between 1 and 512 characters in length. Yes

Child Elements

Child Element Description
Function

Declares the function for the device.

Parent Elements

Parent Element Description
DeviceCapability

Declares a device capability required by a package.

Requirements

Namespace

http://schemas.microsoft.com/appx/2013/manifest