How to specify capabilities in a package manifest
Note For Windows 10, see uap:Capability, Capability, and What's different in Windows 10.
To declare each capability required by your app, add a Capability element to the package manifest.
Alternatively, you can package your app using Visual Studio. See Packaging your app using Visual Studio.
Instructions
Step 1:
Follow the steps in How to create a basic package manifest.
Step 2:
Determine the capabilities that your app needs. Any capabilities that are required by an API are listed in the documentation and IntelliSense ToolTip for the API. For more info, see App capability declarations.
Step 3:
Add one Capability element per capability. Here's an example Capabilities node that declares 3 capabilities.
<Capabilities>
<Capability Name="internetClient"/>
<Capability Name="musicLibrary"/>
<Capability Name="videosLibrary"/>
</Capabilities>
Related topics
How to create a package manifest manually
How to specify device capabilities in a package manifest
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin