Freigeben über


ModelIDList

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 ModelIDList-Element gibt eine oder mehrere GUIDs an. Each GUID is specified through a ModelID element, and identifies a physical device specified within the device metadata package.

Caution The ModelIDList and ModelID elements are not supported for service metadata packages. You must use the HardwareIDList and HardwareID elements instead.

Usage

<ModelIDList>
  child elements
</ModelIDList>

Attributes

Es gibt keine Attribute.

Child elements

Element Description

ModelID

The ModelID element specifies the GUID of a physical device.

Parent elements

Element Description

MetadataKey

The MetadataKey element specifies the attributes of the device metadata package. 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.

XSD

<xs:element name="ModelIDList" type="tns:ModelIDListType" minOccurs="0" />

<xs:complexType name="ModelIDListType">
  <xs:sequence>
    <xs:element name="ModelID" type="tns:GUIDType" maxOccurs="unbounded" />
  </xs:sequence>
</xs:complexType>

Remarks

The ModelIDList element is required only if the HardwareIDList element is not specified in the MetadataKey element. If it is specified, the ModelIDList element must contain one or more ModelID elements. Wenn Ihr Gerätemetadatenpaket mehrere Gerätemodelle oder Modell-IDs unterstützt, können Sie ein ModelID-Element für jedes Gerätemodell angeben.

Caution The ModelIDList and ModelID elements are not supported for service metadata packages. You must use the HardwareIDList and HardwareID elements instead.

If the PackageInfo XML data contains both of the HardwareIDList and ModelIDList elements, the operating system uses the following rules when it determines whether a device is specified by a device metadata package:

  • If the device has a model ID, the operating system does not search for a match in the HardwareIDList element. For more information about model IDs, see ModelID.

  • Otherwise, the operating searches the HardwareIDList element for a match of the device's hardware ID.