com:DefaultIcon (in ExeServer/Class)

Description

Provides default icon information for iconic presentations of objects.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <com:Extension>

                        <com:ComServer>

                             <com:ExeServer>

                                  <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.' />

Key

?   optional (zero or one)

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Path The full path to the executable name of the server application. A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. Yes
ResourceIndex The integer at the end of the path, separated from the path by a comma (for example, C:\Foo\Bar\Baz.exe,5). See the nIconIndex parameter in ExtractIcon for more details. An integer type. No

Child elements

None.

Parent elements

Parent element Description
com:Class Defines an ExeServer class registration.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/com/windows10
Minimum OS Version Windows 10 version 1703 (Build 15063)