Applications
Recolher sumário
Expandir sumário

Applications

Represents one or more apps that comprise the package.

Hierarquia de elementos

<Package>
<Applications>

Sintaxe

<Applications>

  <!-- Child elements -->
  Application{1,100}

</Applications>

Chave

{}   intervalo específico de ocorrências

Attributes and Elements

Attributes

None.

Child Elements

Child ElementDescription
Application

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

 

Parent Elements

Parent ElementDescription
Package

Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system.

 

Comentários

You can use the Applications element to specify one or more apps for the package. Note that although each package can contain one or more apps, packages that contain multiple apps won't pass the BUGBUG: UNKNOWN TLA IDENTIFIER (tla@rid="store") certification process.

Exemplos

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>

Requisitos

Namespace

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

 

 

Mostrar:
© 2016 Microsoft