Partager via


ModelIDList

Avertissement de dépréciation MBAE

Important

À compter de Windows 10, version 1803, l’expérience de l’application MBAE est remplacée par une application UWP MO. Pour plus d’informations sur les applications UWP MO, consultez les applications haut débit mobiles UWP.

L’élément ModelIDList spécifie un ou plusieurs GUID. 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

Il n’existe aucun attribut.

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. Ces options en question sont les suivantes :

  • Identificateur de chaque fonction matérielle prise en charge par l’appareil.

  • Paramètres régionaux spécifiques à la langue pour les chaînes de texte dans le package.

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. Si votre package de métadonnées d’appareil prend en charge plusieurs modèles d’appareil ou ID de modèle, vous pouvez spécifier un élément ModelID pour chaque modèle d’appareil.

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.