Key (microsoft-windows-tabletpc-platform-input-core-associationdata-associationelement-key)

Key 指定 AssociationElement 的唯一键。

注意  

  • 在将 AssociationElement 添加到答案文件之前,此元素不会出现在 Windows 系统映像管理器 (Windows SIM) 的“属性”窗格中。

  • Key 的值作为 AssociationElement 元素的特性添加到答案文件中。 特性 wcm:keyValue 用于标识每个唯一关联。 例如,可使用 Monitor1、Monitor2 和 Monitor3 的 Key 值指定三种不同的关联。

指定 AssociationElement 的唯一键。 Key 是一个字符串。

该字符串类型不支持空元素。 请勿为该设置创建空值。

有效配置阶段

offlineServicing

父层次结构

Microsoft-Windows-TabletPC-Platform-Input-Core| AssociationData| AssociationElement | Key

应用于

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-TabletPC-Platform-Input-Core

XML 示例

下面的 XML 输出显示了如何配置 AssociationElement,以将两个平板电脑监视器关联到同一系统上的三个数字化器,方法是使用以下键值:Monitor1、Monitor2 和 Monitor3。

<AssociationData>
   <AssociationElement wcm:action="add" wcm:keyValue="Monitor1">&quot;hid#VID_1B96&amp;PID_0008&amp;REV_2100&amp;mi_01&amp;col01&quot;=&quot;PCI\\VEN_8086&amp;DEV_4102&amp;SUBSYS_16B510CF|FUJ5812&quot;</AssociationElement>
   <AssociationElement wcm:action="add" wcm:keyValue="Monitor2">&quot;hid#VID_1B96&amp;PID_0008&amp;REV_2100&amp;mi_01&amp;col02&quot;=&quot;PCI\\VEN_8086&amp;DEV_4102&amp;SUBSYS_16B510CF|FUJ5812&quot;</AssociationElement>
</AssociationData>
   <AssociationElement wcm:action="add" wcm:keyValue="Monitor3">&quot;hid#VID_1B96&amp;PID_0008&amp;REV_2100&amp;mi_01&amp;col03&quot;=&quot;PCI\\VEN_8086&amp;DEV_4102&amp;SUBSYS_16B510CF|FUJ5812&quot;</AssociationElement>
</AssociationData>

AssociationElement