Upravit

Sdílet prostřednictvím


uap11:Capability (Windows 10)

Declares a capability required by a package.

Element hierarchy

<Package>

    <Capabilities>

         <uap11:Capability>

Syntax

<uap11:Capability
    Name = 'A string that can have one of the following values: "graphicsCaptureProgrammatic" or "graphicsCaptureWithoutBorder".' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Name The name of the capability. A string that can have one of the following values: graphicsCaptureProgrammatic or graphicsCaptureWithoutBorder. Yes

Child elements

None.

Parent elements

Parent Element Description
Capabilities Declares the access to protected user resources that the package requires.

Examples

<Package
    xmlns:uap11="http://schemas.microsoft.com/appx/manifest/uap/windows10/11"  
    IgnorableNamespaces="uap11">
    <Capabilities>
        <uap11:Capability
            Name="graphicsCaptureProgrammatic"/>  
        <uap11:Capability
            Name="graphicsCaptureWithoutBorder"/>  
    </Capabilities>
</Package>

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/11
Minimum OS Version Windows 10 (Build 19645)