ItemKeyItemKey

ItemKey 在 Internet Explorer 中指定唯一的索引鍵的 我的最愛列項目。ItemKey specifies a unique key for a Favorite bar item in Internet Explorer.

我的最愛項目可以包含 web 內容,例如連結、 摘要、 網頁快訊或文件,例如 Microsoft Word、 Microsoft Excel 和 Microsoft PowerPoint 文件。A Favorite can include web content such as links, feeds, web slices, or documents, such as Microsoft Word, Microsoft Excel and Microsoft PowerPoint documents.

Values

ItemKey

指定唯一的索引鍵的 我的最愛列項目。Specifies a unique key for the Favorite bar item.

ItemKey 是一個字串。ItemKey is a string.

有效的設定階段Valid Configuration Passes

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-IE-InternetExplorer | FavoriteBarItems | FavoriteBarItem | ItemKeyMicrosoft-Windows-IE-InternetExplorer | FavoriteBarItems | FavoriteBarItem | ItemKey

套用至Applies To

如需此元件支援的架構與 Windows 版本的清單,請參閱Microsoft Windows-IE InternetExplorerFor a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.

XML 範例XML Example

下列 XML 範例會顯示三個我的最愛列項目。The following XML example shows three Favorite bar items.

<FavoriteBarItems> 
  <FavoriteBarItem> 
    <ItemKey>1</ItemKey> 
    <ItemName>Name1</ItemName> 
    <ItemUrl>http://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>http://www.fabrikam.com/xml/HomePage.xml</ItemUrl> 
    <ItemType>Headline</ItemType> 
  </FavoriteBarItem> 
</FavoriteBarItems>

Microsoft-Windows-IE-InternetExplorerMicrosoft-Windows-IE-InternetExplorer