应用程序 (WindowsInfo)
MBAE 弃用警告
重要
从 Windows 10 版本 1803 开始,MBAE 应用体验将替换为 MO UWP 应用。 有关 MO UWP 应用的详细信息,请参阅 UWP 移动宽带应用。
Application 元素指定应用的应用程序 ID。
用法
<Application Id=”tns:ApplicationIdType” />
Attributes
Attribute | 类型 | 必需 | 说明 |
---|---|---|---|
ID |
tns:ApplicationIdType |
是 |
应用程序 ID。 从应用清单复制此值,如备注中所述。 |
子元素
没有子元素。
父元素
元素 | 说明 |
---|---|
指定当用户插入设备时应显示为建议的自动播放操作的 UWP 设备应用。 |
Xsd
<xs:element name="Application" type="tns:ApplicationType" />
<xs:complexType name="ApplicationType">
<xs:attribute name="Id" type="tns:ApplicationIdType" use="required"/>
</xs:complexType>
<xs:simpleType name="ApplicationIdType">
<xs:restriction base="tns:AsciiWindowsIdType">
<xs:maxLength value="64"/>
</xs:restriction>
</xs:simpleType>
备注
Application 元素的结构对应于应用清单中 <Application> 元素的结构。 从应用清单中的 Id 属性复制 Id 值的值。
下面是一个示例, <说明如何在应用清单中构建 Applications> 元素:
<Applications>
<Application Id="DeviceAppForPrinters" Executable="$targetnametoken$.exe" EntryPoint="DeviceAppForPrinters.App">
</Application>
</Applications>
Application 元素是可选的。