Поделиться через


Application element

Specifies the application ID for the Windows Store app that is specified as an AutoPlay handler.

Usage

<Application
  Id = "tns:ApplicationIdType"/>

Attributes

Attribute Type Required Description

Id

tns:ApplicationIdType

Yes

A value of ApplicationIdType, containing the application ID. Copy this value from the app manifest, as described in Remarks.

Child elements

There are no child elements.

Parent elements

Element

AutoplayHandler

XSD

<xs:complexType name="ApplicationType">
    <xs:attribute name="Id" type="tns:ApplicationIdType" use="required"/>
</xs:complexType>

Remarks

The structure for the <application> element correspond to the structure of the <Application> element in an app manifest. Copy the value of the Id value from the Id attribute in the app manifest.

Here is an example of how the <Applications> element may be structured inside an app manifest.

 <Applications>
    <Application Id="DeviceAppForPrinters" Executable="$targetnametoken$.exe" 
        EntryPoint="DeviceAppForPrinters.App">
    </Application>
  </Applications>

Element information

Minimum supported system

Windows 8
Can be empty Yes

See also

AutoplayHandler

ApplicationIdType

 

 

Send comments about this topic to Microsoft