PackageInfo

MBAE 弃用警告

重要

从 Windows 10 版本 1803 开始,MBAE 应用体验将替换为 MO UWP 应用。 有关 MO UWP 应用的详细信息,请参阅 UWP 移动宽带应用

PackageInfo 元素是 PackageInfo XML 架构的父元素。 PackageInfo 元素的子元素指定服务元数据包的属性。

用法

<PackageInfo>
  child elements
</PackageInfo>

Attributes

没有属性。

子元素

元素 说明

MetadataBuilderInformation

MetadataBuilderInformation 元素指定有关创建服务元数据包的应用程序的信息。

MetadataKey

MetadataKey 元素指定服务元数据包的属性。 其中包括:

  • 设备支持的每个硬件功能的标识符。

  • 包中文本字符串的语言特定区域设置。

PackageStructure

PackageStructure 元素指定由服务元数据包引用的 XML 架构。

关系

Relationships 元素通过其子元素指定用于跟踪设备元数据缓存中的服务元数据包的数据。

父元素

没有父元素。

Xsd

<xs:element name="PackageInfo" type="tns:PackageInfoType" />

<xs:complexType name="PackageInfoType">
  <xs:sequence>
    <xs:element name="MetadataKey" type="tns:MetadataKeyType" />
    <xs:element name="PackageStructure" type="tns:PackageStructureType" />
    <xs:element name="Relationships" type="tns:RelationshipsType" minOccurs="0" />
    <xs:element name="MetadataBuilderInformation" type="tns:MetadataBuilderInformationType" minOccurs="0" />
    <xs:any namespace="##other" processContents="lax" minOccurs="0"
      maxOccurs="unbounded" />
  </xs:sequence>
</xs:complexType>

备注

PackageInfo 元素必须包含 MetadataKeyPackageStructureRelationships 元素的一个实例。