共用方式為


PackageInfo element

The PackageInfo element is the parent element of the PackageInfo XML schema. The child elements of the PackageInfo element specify the attributes of the device metadata package.

Usage

<PackageInfo>
  child elements
</PackageInfo>

Attributes

There are no attributes.

Child elements

Element Description

MetadataBuilderInformation

The element specifies information about the application that created the device metadata package.

MetadataKey

The MetadataKey element specifies the attributes of the device metadata package. These include the following:

  • The identifier for each hardware function supported by the device.
  • The language-specific locale for the text strings within the package.

PackageStructure

The PackageStructure element specifies the XML schemas which are referenced by the device metadata package.

Relationships

The Relationships element, through its child elements, specifies data that is used to track a device metadata package within the device metadata cache.

Child element sequence

(
  MetadataKey, 
  PackageStructure, 
  Relationships, 
  MetadataBuilderInformation
)

Parent elements

There are no parent elements.

XSD

<xs:element name="PackageInfo" type="tns:PackageInfoType" />

<xs:complexType name="PackageInfoType">
  <xs:sequence>
    <xs:element name="MetadataKey" type="tns:MetadataKeyType" />
    <xs:element name="PackageStructure" type="tns:PackageStructureType" />
    <xs:element name="Relationships" type="tns:RelationshipsType" minOccurs="0" />
    <xs:element name="MetadataBuilderInformation" type="tns:MetadataBuilderInformationType" minOccurs="0" /> 
    <xs:any namespace="##other" processContents="lax" minOccurs="0"  maxOccurs="unbounded" />
  </xs:sequence>
</xs:complexType>

Remarks

The PackageInfo element must contain one instance of the MetadataKey, PackageStructure, and Relationships elements.

The PackageInfo element is required.

See also

Device Metadata Packages

Device Metadata Store

MetadataBuilderInformation

MetadataKey

PackageInfo XML schema

PackageStructure

Relationships

 

 

Send comments about this topic to Microsoft