Share via


uap5:ContentType

指定媒體來源支援的媒體/內容類型。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <uap5:Extension>

                        <uap5:MediaSource>

                             <uap5:SupportedContentTypes>

                                  <uap5:ContentType>

Syntax

<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 命名需求。 Yes

子元素

父元素

父元素 描述
uap5:SupportedContentTypes 包含媒體來源支援的媒體/內容類型。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
OS 最低版本 Windows 10版本 1709 (組建 16299)