情報
要求されたトピックは次のとおりです。しかし、このトピックはこのライブラリには含まれていません。

Extensions (type: CT_ApplicationExtensions)

Defines one or more extensibility points for the app.

要素の階層

<Package>
<Applications>
<Application>
<Extensions>

構文

<Extensions>

  <!-- Child elements -->
  Extension{1,10000}

</Extensions>

キー

{}   特定範囲の状況

Attributes and Elements

Attributes

None.

Child Elements

Child ElementDescription
Extension (in type: CT_ApplicationExtensions)

Declares an extensibility point for the app.

 

Parent Elements

Parent ElementDescription
Application

Represents an app that comprises part of or all of the functionality delivered in the package.

 

関連要素

次の要素の名前はこれと同じですが、コンテンツまたは属性が異なります:

注釈

Extensibility points are a mechanism by which an app can add functionality in a manner defined by the operating system. An example of an app extensibility point is the ability to create a file type association and enable your app to be the default handler for files with a specific file name extension.

The following example is taken from the package manifest of one of the SDK samples.


<Applications>
  <Application Id="App" StartPage="default.html">
    <VisualElements DisplayName="Assocation launching sample" 
         Logo="images\squareTile-sdk.png" SmallLogo="images\smallTile-sdk.png" 
         Description="SDK sample" 
         ForegroundText="dark" BackgroundColor="#FFFFFF" ToastCapable="false">
      <DefaultTile ShowName="allLogos" />
      <SplashScreen BackgroundColor="white" Image="images\splash-sdk.png" />
    </VisualElements>
    <Extensions>
      <Extension Category="windows.fileTypeAssociation">
        <FileTypeAssociation Name=".alsdkjs">
          <SupportedFileTypes>
            <FileType>.alsdkjs</FileType>
          </SupportedFileTypes>
        </FileTypeAssociation>
      </Extension>
      <Extension Category="windows.protocol">
        <Protocol Name="alsdkjs" />
      </Extension>
    </Extensions>
  </Application>
</Applications>

参照

Concepts
App contracts and extensions

要件

名前空間

http://schemas.microsoft.com/appx/2010/manifest

 

 

表示: