Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Warnung vor veraltetem MBAE
Important
Ab Windows 10, Version 1803, wird die MBAE-App durch eine MO-UWP-App ersetzt. Weitere Informationen zu MO-UWP-Apps finden Sie unter UWP-Mobilbreitband-Apps.
Das MetadataKey-Element gibt die Attribute des Dienstmetadatenpakets an. Dazu gehören folgende:
Der Bezeichner für jede vom Gerät unterstützte Hardwarefunktion.
Das sprachspezifische Gebietsschema für die Textzeichenfolgen innerhalb des Pakets.
Usage
<MetadataKey>
child elements
</MetadataKey>
Attributes
Es gibt keine Attribute.
Child elements
| Element | Description |
|---|---|
| HardwareIDList | The HardwareIDList element specifies one or more hardware identification strings for the device. |
| LastModifiedDate | The LastModifiedDate element specifies the time stamp on which the service metadata package was last changed. |
| Locale | The Locale element specifies the localized version of the service metadata package. |
| ModelIDList | The ModelIDList element specifies the GUID of each device type or model that is specified within the service metadata package. |
| MultipleLocale | The MultipleLocale element specifies whether the service metadata package supports multiple locales. |
Parent elements
| Element | Description |
|---|---|
| PackageInfo | The PackageInfo element is the parent element of the PackageInfo XML schema. Die untergeordneten Elemente des PackageInfo-Elements geben die Attribute des Gerätemetadatenpakets an. |
XSD
<xs:element name="MetadataKey" type="tns:MetadataKeyType" />
<xs:complexType name="MetadataKeyType">
<xs:sequence>
<xs:choice>
<xs:sequence>
<xs:element name="HardwareIDList" type="tns:HardwareIDListType" />
<xs:element name="ModelIDList" type="tns:ModelIDListType" minOccurs="0" />
</xs:sequence>
<xs:element name="ModelIDList" type="tns:ModelIDListType" />
</xs:choice>
<xs:element name="Locale" type="tns:LocaleType" />
<xs:element name="LastModifiedDate" type="xs:dateTime" />
<xs:element ref="v2:MultipleLocale" minOccurs="0" />
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
Es folgt die Xml-Schemametadaten von PackageInfov2:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://schemas.microsoft.com/windows/2010/08/DeviceMetadata/PackageInfov2"
xmlns:tns="http://schemas.microsoft.com/windows/2010/08/DeviceMetadata/PackageInfov2"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
blockDefault="#all">
<xs:element name="MultipleLocale" type ="xs:boolean" />
</xs:schema>
Remarks
Die untergeordneten Elemente des MetadataKey-Elements geben die Metadaten an, die vom Betriebssystem verwendet werden, um Folgendes auszuführen:
Search the device metadata store for a service metadata package based on either a device's ModelID or HardwareID value. If more than one metadata packages match the device's Model or Hardware ID, the operating system also compares the Locale value within the metadata package to the current language setting on the user's computer.
Update the device metadata store with the service metadata package if a package has a more recent LastModifiedDate value than an existing package within the device metadata store.
Das MetadataKey-Element muss Folgendes enthalten:
One instance of the Locale and LastModifiedDate elements.
One instance of either the HardwareIDList or ModelIDList elements. Das MetadataKey-Element kann eine Instanz beider Elemente enthalten.
Das MetadataKey-Element ist erforderlich.