Device (Windows 10)
Declares a function for a device that is associated with the DeviceCapability. On Windows 10.0.10240.0, a DeviceCapability can contain up to 100 Device elements. On Windows 10.0.10586.0, it can contain up to 1000 (for more details, see DeviceCapability).
Element hierarchy
<Device>
Syntax
<Device
Id = 'A string with a value 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. On Windows 10.0.10240.0, can contain up to 100 Device elements. On Windows 10.0.10586.0, can contain up to 1000 (for syntax and examples, see Examples). |
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/foundation/windows10 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for