Capabilities
콘텐츠의 테이블 축소
콘텐츠의 테이블 확장

Capabilities

Declares the access to protected user resources that the package requires.

요소 계층 구조

<Package>
<Capabilities>

구문

<Capabilities>

  <!-- Child elements -->
  Capability{0,10},
  DeviceCapability{0,100}

</Capabilities>

{}   특정 발생 범위

Attributes and Elements

Attributes

None.

Child Elements

Child ElementDescription
Capability

Declares a capability required by a package.

DeviceCapability

Declares a device capability required by a 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.

 

설명

If you do not explicitly declare the capabilities required for your app to access user resources, your app cannot access that resource. However, even if you declare a capability, your app still won't have access to the user resource if it does not exist on the system or there are other security policies in place that limit access to the resource.

예제

Here's an example Capabilities node that declares 3 capabilities.


<Capabilities>
  <Capability Name="internetClient"/>
  <Capability Name="musicLibrary"/>
  <Capability Name="videosLibrary"/>
</Capabilities>

참고 항목

App capability declarations

요구 사항

네임스페이스

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

 

 

표시:
© 2017 Microsoft