Defines one or more extensibility points for the app.
Element hierarchy
- <Package>
-
- <Applications>
-
- <Application>
- <Extensions>
Syntax
<Extensions>
<!-- Child elements -->
Extension{1,10000}
</Extensions>
Key
- {} specific range of occurrences
Attributes and Elements
Attributes
None.
Child Elements
| Child Element | Description |
|---|---|
| Extension (in type: CT_ApplicationExtensions) |
Declares an extensibility point for the app. |
Parent Elements
| Parent Element | Description |
|---|---|
| Application |
Represents an app that comprises part of or all of the functionality delivered in the package. |
Related elements
The following elements have the same name as this one, but different content or attributes:
Remarks
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.
Examples
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>
See also
- Concepts
- App contracts and extensions
Requirements
|
Namespace |
http://schemas.microsoft.com/appx/2010/manifest |
|---|
Build date: 2/20/2013