다음을 통해 공유


MetadataKey

MBAE 사용 중단 경고

Important

Windows 10 버전 1803부터 MBAE 앱 환경은 MO UWP 앱으로 대체됩니다. MO UWP 앱에 대한 자세한 내용은 UWP 모바일 광대역 앱참조하세요.

MetadataKey 요소는 서비스 메타데이터 패키지의 특성을 지정합니다. 여기에는 다음이 포함되었습니다.

  • 디바이스에서 지원하는 각 하드웨어 함수의 식별자입니다.

  • 패키지 내의 텍스트 문자열에 대한 언어별 로캘입니다.

Usage

<MetadataKey>
  child elements
</MetadataKey>

Attributes

특성이 없습니다.

Child elements

Element Description
HardwareIDList The HardwareIDList element specifies one or more hardware identification strings for the device.
LastModifiedDate The LastModifiedDate element specifies the time stamp on which the service metadata package was last changed.
Locale The Locale element specifies the localized version of the service metadata package.
ModelIDList The ModelIDList element specifies the GUID of each device type or model that is specified within the service metadata package.
MultipleLocale The MultipleLocale element specifies whether the service metadata package supports multiple locales.

Parent elements

Element Description
PackageInfo The PackageInfo element is the parent element of the PackageInfo XML schema. PackageInfo 요소의 자식 요소는 디바이스 메타데이터 패키지의 특성을 지정합니다.

XSD

<xs:element name="MetadataKey" type="tns:MetadataKeyType" />

<xs:complexType name="MetadataKeyType">
  <xs:sequence>
    <xs:choice>
      <xs:sequence>
       <xs:element name="HardwareIDList" type="tns:HardwareIDListType" />
       <xs:element name="ModelIDList" type="tns:ModelIDListType" minOccurs="0" />
      </xs:sequence>
      <xs:element name="ModelIDList" type="tns:ModelIDListType" />
    </xs:choice>
    <xs:element name="Locale" type="tns:LocaleType" />
    <xs:element name="LastModifiedDate" type="xs:dateTime" />
    <xs:element ref="v2:MultipleLocale" minOccurs="0" />
    <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
</xs:complexType>

다음은 PackageInfov2 XML 스키마 메타데이터입니다.

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema targetNamespace="http://schemas.microsoft.com/windows/2010/08/DeviceMetadata/PackageInfov2"
           xmlns:tns="http://schemas.microsoft.com/windows/2010/08/DeviceMetadata/PackageInfov2"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           elementFormDefault="qualified"
           blockDefault="#all">

<xs:element name="MultipleLocale" type ="xs:boolean" />

</xs:schema>

Remarks

MetadataKey 요소의 자식 요소는 운영 체제에서 다음을 수행하는 데 사용하는 메타데이터를 지정합니다.

  • Search the device metadata store for a service metadata package based on either a device's ModelID or HardwareID value. If more than one metadata packages match the device's Model or Hardware ID, the operating system also compares the Locale value within the metadata package to the current language setting on the user's computer.

  • Update the device metadata store with the service metadata package if a package has a more recent LastModifiedDate value than an existing package within the device metadata store.

MetadataKey 요소는 다음을 포함해야 합니다.

MetadataKey 요소가 필요합니다.