uap3:AppExtension

windows.appExtension 型のアプリ拡張ポイントを宣言します。 この要素は、アプリが使用またはホストする拡張機能のカテゴリを示します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <uap3:Extension>

                        <uap3:AppExtension>

構文

<uap3:AppExtension
    Name = 'A string with a value between 2 and 255 characters in length that consists of alphanumeric characters, periods (except for the first character), and dashes only.'
    Id = 'A string with a value between 2 and 39 characters in length that consists of alphanumeric characters, periods (except for the first character), and dashes only.'
    PublicFolder = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
    DisplayName = 'A string with a value between 1 and 256 characters in length.'
    Description = 'A string between 1 and 2048 characters in length.' >

  <!-- Child elements -->
  uap3:Properties?

</uap3:AppExtension>

キー

? 省略可能 (0 または 1)

属性と要素

属性

属性 説明 データ型 必須 既定値
説明 アプリの説明 1 ~ 2048 文字の長さの文字列。 いいえ
DisplayName ユーザーに表示できるアプリ拡張機能のフレンドリ名。 長さが 1 ~ 256 文字の値を持つ文字列。 Yes
Id 複数のエントリ ポイントがある場合に、ホスト アプリが拡張カテゴリ インスタンスにアクセスするエントリ ポイント。 英数字、ピリオド (最初の文字を除く)、ダッシュのみで構成される長さが 2 ~ 39 文字の文字列。 はい
名前 アプリが使用またはホストする拡張機能の種類。 英数字、ピリオド (最初の文字を除く)、ダッシュのみで構成される長さが 2 ~ 255 文字の文字列。 Yes
PublicFolder ホストがブローカーを介してファイルへの読み取りアクセス権を持つ場所としてインスタンスが宣言するフォルダー。 長さが 1 ~ 256 文字の文字列。、">:|?または *の各文字<を含めることはできません。 Yes

子要素

子要素 説明
uap3:Properties オペレーティング システムによって単に格納され、読み取られない、カスタムの拡張機能固有の情報を表す不透明な XML が含まれています。 情報は、ホスト アプリによってのみ読み取られます。

親要素

親要素 説明
uap3:Extension アプリの拡張ポイントを宣言します。

次の例は、アプリが低パフォーマンスのブラウザー拡張機能をホストまたは使用することを示しています

<Package
    xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"  
    IgnorableNamespaces="... uap3">
    <Applications>
        <Application>
            <Extensions>
                <uap3:Extension 
                    Category="windows.appExtension">  
                    <uap3:AppExtension
                        Name="com.microsoft.browser.ext"
                        Id="Extension.Low.Performance"
                        PublicFolder="public\lowperf"
                        DisplayName="Low Performance Extension"/>  
                </uap3:Extension>  
              </Extensions>
        </Application>
    </Applications>
</Package>

要件

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/3
Minimum OS Version Windows 10 バージョン 1607 (ビルド 14393)