MBAE 사용 중단 경고
Important
Windows 10 버전 1803부터 MBAE 앱 환경은 MO UWP 앱으로 대체됩니다. MO UWP 앱에 대한 자세한 내용은 UWP 모바일 광대역 앱참조하세요.
메타데이터 요소는 서비스 메타데이터 패키지에서 참조되는 XML 스키마의 네임스페이스를 지정합니다.
Usage
<Metadata
MetadataID = "xs:anyURI">
text
</Metadata>
Attributes
| Attribute | Type | Required | Description |
|---|---|---|---|
| MetadataID | xs:anyURI | Yes | 서비스 메타데이터 패키지 내에서 참조되는 XML 스키마의 네임스페이스를 지정합니다. |
Text value
서비스 메타데이터 XML 스키마 네임스페이스의 URI(Uniform Resource Identifier)입니다. XML 스키마는 서비스 메타데이터 패키지 내에서 참조되는 스키마 중 하나여야 합니다.
Child elements
자식 요소가 없습니다.
Parent elements
| Element | Description |
|---|---|
| PackageStructure | The PackageStructure element specifies the XML schemas which are referenced by the service metadata package. |
XSD
<xs:element name="PackageStructure" type="tns:PackageStructureType" />
<xs:complexType name="PackageStructureType">
<xs:sequence>
<xs:element name="Metadata" type="tns:MetadataType" minOccurs="3" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="MetadataType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="MetadataID" type="xs:anyURI" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Remarks
In the PackageInfo element, a minimum of two instances of the Metadata element must be specified. 각 인스턴스는 서비스 메타데이터 패키지를 만드는 데 사용되는 다음 필수 XML 스키마 중 하나의 네임스페이스를 지정해야 합니다.
가장 쉬운 방법은 위의 다음 예제를 Packageinfo.xml 파일에 복사하는 것입니다. If any of the folders specified above are not included in the service metadata package, make sure to remove the Metadata element from the PackageStructure element.
<PackageStructure>
<Metadata MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11">PackageInfo.xml</Metadata>
<Metadata MetadataID="http://schemas.microsoft.com/windows/2010/05/DeviceMetadata/ServiceInfo">ServiceInformation</Metadata>
<Metadata MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">WindowsInformation</Metadata>
<Metadata MetadataID="http://schemas.microsoft.com/windows/2010/08/DeviceMetadata/SoftwareInfo">SoftwareInformation</Metadata>
</PackageStructure>
SoftwareInformation 폴더 및 서비스 메타데이터 패키지는 Windows 7을 실행하는 디바이스에서 지원되지 않습니다.
이 메타데이터 요소에서 이름이 설정된 한 각 폴더 이름을 임의의 이름으로 변경할 수 있습니다. 다음 예제에서는 폴더 이름으로 "WindowsInfo"를 사용하는 방법을 보여 줍니다.
<Metadata MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">WindowsInfo</Metadata>