ItemKey (microsoft-windows-ie-internetexplorer-favoritebaritems-favoritebaritem-itemkey)
ItemKey
會指定 Internet Explorer 中 [我的最愛] 列專案的唯一索引鍵。
我的最愛可以包含 Web 內容,例如連結、摘要、網頁配量或檔,例如 Microsoft Word、Microsoft Excel 和 Microsoft PowerPoint 檔。
值
|
指定 [我的最愛] 列專案的唯一索引鍵。
|
有效的組態傳遞
特殊化
父階層
Microsoft-Windows-IE-InternetExplorer | FavoriteBarItems | FavoriteBarItem | ItemKey
套用至
如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-IE-InternetExplorer。
XML 範例
下列 XML 範例顯示三個 [我的最愛] 列專案。
<FavoriteBarItems>
<FavoriteBarItem>
<ItemKey>1</ItemKey>
<ItemName>Name1</ItemName>
<ItemUrl>https://www.fabrikam.com/stockwatch#stockprice</ItemUrl>
<ItemType>Webslice</ItemType>
</FavoriteBarItem>
<FavoriteBarItem>
<ItemKey>2</ItemKey>
<ItemName>Name2</ItemName>
<ItemUrl>https://www.msn.com/rss/ie8_slideshow.aspx</ItemUrl>
<ItemType>Webslice</ItemType>
</FavoriteBarItem>
<FavoriteBarItem>
<ItemKey>3</ItemKey>
<ItemName>Name3</ItemName>
<ItemUrl>https://www.fabrikam.com/xml/HomePage.xml</ItemUrl>
<ItemType>Headline</ItemType>
</FavoriteBarItem>
</FavoriteBarItems>