desktop7:ApplicationRegistration

在登錄中註冊應用程式,取代在系統 PATH 變數中註冊應用程式的需求。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <desktop7:Extension>

                        <desktop7:ApplicationRegistration>

Syntax

<desktop7:ApplicationRegistration 
  Name =  'A string with a value between 1 and 256 characters in length. This string is localizable.'
  Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'  
  ApplicationName = 'A string with a value between 1 and 256 characters in length.'
  ApplicationDescription = 'A string with a value between 1 and 256 characters in length.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
名稱 應用程式的顯示名稱。 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。 Yes
路徑 應用程式的路徑。 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、 >:|" 、、 ? 或 。 * Yes
ApplicationName 應用程式的名稱。 長度介於 1 到 256 個字元之間的字串。 Yes
ApplicationDescription 應用程式的描述。 長度介於 1 到 256 個字元之間的字串。 Yes

子元素

無。

父元素

父元素 描述
副檔名 定義應用程式的擴充點。

備註

如需註冊應用程式的資訊,請參閱 應用程式註冊

規格需求

Item
命名空間 http://schemas.microsoft.com/appx/manifest/desktop/windows10/7
OS 最低版本 Windows 10 (組建 19645)