uap5:ContentType

指定媒体源支持的媒体/内容类型。

元素层次结构

<包>

    <应用程序>

         <应用程序>

              <扩展>

                   <uap5:Extension>

                        <uap5:MediaSource>

                             <uap5:SupportedContentTypes>

                                  <uap5:ContentType>

语法

<uap5:ContentType
  SubType = 'A string that contains two components with a value between 1 and 127 characters in length, separated by a forward slash ("/"). It follows the RFC 4288 naming requirements.' />

特性和元素

属性

属性 说明 数据类型 必须 默认值
子类型 子类型的名称。 包含两个组件的字符串,其值长度在 1 到 127 个字符之间,用正斜杠分隔 (/) 。 它遵循 RFC 4288 命名要求。

子元素

父元素

父元素 描述
uap5:SupportedContentTypes 包含媒体源支持的媒体/内容类型。

要求

Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
Minimum OS Version Windows 10版本 1709 (内部版本 16299)