ItemKey (microsoft-windows-ie-internetexplorer-accelerators-accelerator-itemkey)

ItemKey 包含加速器的唯一键。

加速器是 Internet Explorer 中的菜单选项,有助于自动执行常见的与浏览器相关的任务。 在 Internet Explorer 中,右键单击所选文本时,加速器会出现在可用选项列表中。 例如,如果右键单击选定的地址,可使用加速器来显示该地址的地图。

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

有效配置阶段

specialize

父层次结构

microsoft-windows-ie-internetexplorer.md) | Accelerators | Accelerator | ItemKey

应用于

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

XML 示例

以下 XML 输出指定添加两个加速器。

<Accelerators>
  <Accelerator wcm:action="add">
    <AcceleratorXML>C:\Fabrikam\Accelerator1.xml</AcceleratorXML>
    <ItemKey>Accelerator1</ItemKey> 
    <IsDefault>true</IsDefault> 
  </Accelerator>
  <Accelerator wcm:action="add">
    <AcceleratorXML>C:\Fabrikam\Accelerator2.xml</AcceleratorXML> 
    <ItemKey>Accelerator2</ItemKey> 
  </Accelerator>
</Accelerators>

Accelerator