Share via


exeServer/Class) 中的 com:DefaultIcon (

Description

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

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <com:Extension>

                        <com:ComServer>

                             <com:ComServer>

                                  <com:Class>

                                       <com:DefaultIcon>

Syntax

<com:DefaultIcon
  Path = 'A string with a value 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 定義 ExeServer 類別註冊。

規格需求

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