ModelIDList element
The ModelIDList element specifies one or more GUIDs. Each GUID is specified through a ModelID element, and identifies a physical device specified within the device metadata package.
Usage
<ModelIDList>
child elements
</ModelIDList>
Attributes
There are no attributes.
Child elements
Element | Description |
---|---|
The ModelID element specifies the GUID of a physical device. |
Child element sequence
ModelID
Parent elements
Element | Description |
---|---|
The MetadataKey element specifies the attributes of the device metadata package. These include the following:
|
XSD
<xs:element name="ModelIDList" type="tns:ModelIDListType" />
<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. If your device metadata package supports multiple device models or model IDs, you can specify a ModelID element for each device model.
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.
Examples
The following is an example of a ModelIDList element that has multiple ModelID elements:
<ModelIDList>
<ModelID>825AAB98-18EE-4FE2-9472-197D1D00FE31</ModelID>
<ModelID>23F64715-AC4A-4DC4-B554-C8D56E43FE8B</ModelID>
</ModelIDList>
See also