Resource (extensions schema for Windows 8.1)

Declares a language for the resource contained in the package. The scale and DirectX feature level attributes are common for all resources in the package.

Element hierarchy

<Package>
<Resources>
<Resource>

Syntax

<Resource Language?         = language
          m:Scale?          = "100" | "120" | "140" | "150" | "160" | ...
          m:DXFeatureLevel? = "dx9" | "dx10" | "dx11" />

Key

?   optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
Language

The language for the resource contained in the package. The syntax of this attribute is defined by the IETF's BCP47: Tags for Identifying Languages .

language No
m:DXFeatureLevel

The DirectX feature level of the resource from the manifest's Resources\Resource field.

This attribute can have one of the following values:

  • dx9
  • dx10
  • dx11
No
m:Scale

The resolution scale of the resource.

This attribute can have one of the following values:

  • 100
  • 120
  • 140
  • 150
  • 160
  • 180
  • 225
No

 

Child Elements

None.

Parent Elements

Parent Element Description
Resources

Declares languages for the resources that the package contains. Every package must declare at least one language for resources. The scale and DirectX feature level attributes are common for all resources in the package.

 

Requirements

Value
Namespace http://schemas.microsoft.com/appx/2010/manifest