com:DefaultIcon (SurrogateServer/Class 内)

オブジェクトの象徴的なプレゼンテーションの既定のアイコン情報を提供します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <com:Extension>

                        <com:ComServer>

                             <com:SurrogateServer>

                                  <com:Class>

                                       <com:DefaultIcon>

構文

<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 パラメーターを参照してください。 省略可能な整数値。 いいえ

子要素

なし。

親要素

親要素 説明
com:Class SurrogateServer クラスの登録を定義します。

必要条件

Item
名前空間 http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 バージョン 1703 (ビルド 15063)