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

ItemKey 包含 快速鍵的唯一索引鍵。

快速鍵是 Internet Explorer 中的功能表選項,可協助自動化常見的瀏覽器相關工作。 在 Internet Explorer 中,當您以滑鼠右鍵按一下選取的文字時,快速鍵會出現在可用的選項清單中。 例如,如果您以滑鼠右鍵按一下選取的位址,您可以使用加速器來顯示該位址的地圖。

金鑰

指定 AcceleratorsXML的唯一索引鍵。 索引鍵 是字串。

有效的設定階段

特殊化

父階層

microsoft-windows-ie-internetexplorer.md) |加速器 | 加速器 | 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>

加速器