Udostępnij przez


ModelIDList

Ostrzeżenie o deprecjacji programu MBAE

Important

Począwszy od systemu Windows 10 w wersji 1803, środowisko aplikacji MBAE jest zastępowane przez aplikację MO PLATFORMY UWP. Aby uzyskać więcej informacji na temat aplikacji MO UWP, zobacz aplikacje mobilne szerokopasmowe UWP.

Element ModelIDList określa jeden lub więcej identyfikatorów 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

Brak atrybutów.

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. Należą do nich następujące elementy:

  • Identyfikator każdej funkcji sprzętowej obsługiwanej przez urządzenie.

  • Ustawienia regionalne specyficzne dla języka dla ciągów tekstowych w pakiecie.

język 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. Jeśli pakiet metadanych urządzenia obsługuje wiele modeli urządzeń lub identyfikatorów modeli, możesz określić element ModelID dla każdego modelu urządzenia.

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.