Share via


surrogateServer/Class) 中的 com:DefaultIcon (

提供物件圖示呈現的預設圖示資訊。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <com:Extension>

                        <com:ComServer>

                             <com:SurrogateServer>

                                  <com:Class>

                                       <com:DefaultIcon>

Syntax

<com:DefaultIcon
  Path = 'A string between 1 and 256 characters in length that cannot contain these characters: <, >;, :, ", |, ?, or *.'
  ResourceIndex = 'An optional integer value.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
路徑 伺服器應用程式可執行檔名稱的完整路徑。 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、 >:"| 、、 ?* Yes
ResourceIndex 路徑結尾的整數,以逗號分隔路徑,例如 C:\Foo\Bar\Baz.exe,5。 如需詳細資訊,請參閱 ExtractIcon 中的 nIconIndex 參數。 選擇性的整數值。 No

子元素

無。

父元素

父元素 描述
com:Class 定義 SurrogateServer 類別註冊。

規格需求

Item
命名空間 http://schemas.microsoft.com/appx/manifest/com/windows10
OS 最低版本 Windows 10版本 1703 (組建 15063)