Share via


uap12:Host

宣告 uap12 延伸模組的網域和子域參數。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <uap12:Extension>

                   <\uap12:Host>

Syntax

<uap12:Host
  Name = 'An alphanumeric string with a value between 1 and 255 characters that can contain the following characters: ., -, or *. No other characters are accepted. Represents the domain name with an asterisk ("*") signifying a subdomain.'
  Uri = 'An alphanumeric string with a value between 1 and 255 characters that can contain the following characters: ., -, or *. No other characters are accepted. Represents the domain name with an asterisk ("*") signifying a subdomain.'
  uap11:path = 'An optional alphanumeric string with a value between 1 and 2084 characters that also accepts the following characters: "/", or "\". No other characters are accepted. Represents the path to the domain and/or subdomain.' />

答案

? 選擇性 (零或一個)

屬性和元素

屬性

屬性 描述 資料類型 必要
名稱 表示具有star表示子域的功能變數名稱。 包含下列字元的英數位元字串,其值為 1 到 255 個字元:.、-或 。不接受任何其他字元。表示具有星號 (「」「) 表示子域的功能變數名稱。 Yes
Uri 表示功能變數名稱的 URI,其star表示子域。 包含下列字元的英數位元字串,其值為 1 到 255 個字元:.、-或 。不接受任何其他字元。表示具有星號 (「」「) 表示子域的功能變數名稱。 Yes
uap11:Path 表示網域和/或子域的路徑。 選擇性英數位元字串,其值介於 1 到 2084 個字元之間,也接受下列字元:「/」 或 「」。 不接受任何其他字元。 表示網域和/或子域的路徑。 No

子元素

無。

父元素

父元素 描述
套件/應用程式) 中的擴充功能 ( 宣告應用程式的擴充點。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows/10/12
UAP11 http://schemas.microsoft.com/appx/manifest/uap/windows/10/11
OS 最低版本 Windows 10 (組建 20348)