Device

Applies to Windows and Windows Phone

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

AttributeDescriptionData typeRequiredDefault value
Id

The identifier of the device.

A string between 1 and 512 characters in length.Yes

 

Child Elements

Child ElementDescription
Function

Declares the function for the device.

 

Parent Elements

Parent ElementDescription
DeviceCapability

Declares a device capability required by a package.

 

Requirements

Namespace

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

 

 

Show:
© 2015 Microsoft